Expect
class Expect
Expectations for more complex assertions formulation.
Methods
No description
Checks the expectations.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
at line 56
static Expect
__callStatic(string $method, array $args)
No description
at line 64
static Expect
that(callable $constraint)
No description
at line 70
Expect
__call(string $method, array $args)
No description
at line 81
Expect
and(callable $constraint)
No description
at line 91
void
__invoke(mixed $actual)
Checks the expectations.
at line 106
string
dump()
No description
at line 50
static self
same(mixed $expected)
No description
at line 50
static self
notSame(mixed $expected)
No description
at line 50
static self
equal(mixed $expected)
No description
at line 50
static self
notEqual(mixed $expected)
No description
at line 50
static self
contains(mixed $needle)
No description
at line 50
static self
notContains(mixed $needle)
No description
at line 50
static self
true()
No description
at line 50
static self
false()
No description
at line 50
static self
null()
No description
at line 50
static self
nan()
No description
at line 50
static self
truthy()
No description
at line 50
static self
falsey()
No description
at line 50
static self
count(int $count)
No description
at line 50
static self
type(string|object $type)
No description
at line 50
static self
match(string $pattern)
No description
at line 50
static self
matchFile(string $file)
No description
at line 50
self
andSame(mixed $expected)
No description
at line 50
self
andNotSame(mixed $expected)
No description
at line 50
self
andEqual(mixed $expected)
No description
at line 50
self
andNotEqual(mixed $expected)
No description
at line 50
self
andContains(mixed $needle)
No description
at line 50
self
andNotContains(mixed $needle)
No description
at line 50
self
andTrue()
No description
at line 50
self
andFalse()
No description
at line 50
self
andNull()
No description
at line 50
self
andNan()
No description
at line 50
self
andTruthy()
No description
at line 50
self
andFalsey()
No description
at line 50
self
andCount(int $count)
No description
at line 50
self
andType(string|object $type)
No description
at line 50
self
andMatch(string $pattern)
No description
at line 50
self
andMatchFile(string $file)
No description