extracted Expectations to a CoreExpectation class

This commit is contained in:
Fabio Ivona
2021-10-30 20:14:54 +02:00
parent cd34f0ba81
commit 8174f2d973
4 changed files with 787 additions and 689 deletions

View File

@ -0,0 +1,17 @@
<?php
namespace Pest\Exceptions;
use InvalidArgumentException;
/**
* @internal
*/
final class ExpectationNotFoundException extends InvalidArgumentException
{
public function __construct(string $expectationName)
{
parent::__construct(sprintf("Impossible to find [%s] expectation", $expectationName));
}
}