danog\MadelineProto\Test\CallRecorderCodecTest
Author: Daniil Gentili daniil@daniil.it
End-to-end, offline: the video of a Matroska file is packetized into RTP payloads exactly as we
transmit it, depacketized and reassembled exactly as we receive it, recorded by the pure-PHP recorder, and the resulting file demuxed again — for the codecs that carry their own framing (H.265 parameter sets, AV1 OBU size fields).
Method list:
testHevcRecordsThroughRtp(): voidtestAv1RecordsThroughRtp(): voidany(): \PHPUnit\Framework\MockObject\Rule\AnyInvokedCountnever(): \PHPUnit\Framework\MockObject\Rule\InvokedCountatLeast(int $requiredInvocations): \PHPUnit\Framework\MockObject\Rule\InvokedAtLeastCountatLeastOnce(): \PHPUnit\Framework\MockObject\Rule\InvokedAtLeastOnceonce(): \PHPUnit\Framework\MockObject\Rule\InvokedCountexactly(int $count): \PHPUnit\Framework\MockObject\Rule\InvokedCountatMost(int $allowedInvocations): \PHPUnit\Framework\MockObject\Rule\InvokedAtMostCountreturnValue(mixed $value): \PHPUnit\Framework\MockObject\Stub\ReturnStubreturnValueMap(array $valueMap): \PHPUnit\Framework\MockObject\Stub\ReturnValueMapreturnArgument(int $argumentIndex): \PHPUnit\Framework\MockObject\Stub\ReturnArgumentreturnCallback(mixed $callback): \PHPUnit\Framework\MockObject\Stub\ReturnCallbackreturnSelf(): \PHPUnit\Framework\MockObject\Stub\ReturnSelfthrowException(Throwable $exception): \PHPUnit\Framework\MockObject\Stub\ExceptiononConsecutiveCalls(mixed ...$args): \PHPUnit\Framework\MockObject\Stub\ConsecutiveCallssetUpBeforeClass(): voidtearDownAfterClass(): voidtoString(): stringcount(): intgetActualOutputForAssertion(): stringexpectOutputRegex(string $expectedRegex): voidexpectOutputString(string $expectedString): voidexpectException(class-string<Throwable> $exception): voidexpectExceptionCode((int|string) $code): voidexpectExceptionMessage(string $message): voidexpectExceptionMessageMatches(string $regularExpression): voidexpectExceptionObject(Exception $exception): voidexpectNotToPerformAssertions(): voidgetStatus(): intmarkAsRisky(): voidgetStatusMessage(): stringhasFailed(): boolrun(?\PHPUnit\Framework\TestResult $result = NULL): \PHPUnit\Framework\TestResultgetMockBuilder(class-string<RealInstanceType> $className): MockBuilder<RealInstanceType>registerComparator(\SebastianBergmann\Comparator\Comparator $comparator): voidsortId(): stringprovides(): list<ExecutionOrderDependency>requires(): list<ExecutionOrderDependency>assertArrayHasKey((int|string) $key, (array|ArrayAccess) $array, string $message = ''): voidassertArrayNotHasKey((int|string) $key, (array|ArrayAccess) $array, string $message = ''): voidassertContains(mixed $needle, iterable $haystack, string $message = ''): voidassertContainsEquals(mixed $needle, iterable $haystack, string $message = ''): voidassertNotContains(mixed $needle, iterable $haystack, string $message = ''): voidassertNotContainsEquals(mixed $needle, iterable $haystack, string $message = ''): voidassertContainsOnly(string $type, iterable $haystack, ?bool $isNativeType = NULL, string $message = ''): voidassertContainsOnlyInstancesOf(string $className, iterable $haystack, string $message = ''): voidassertNotContainsOnly(string $type, iterable $haystack, ?bool $isNativeType = NULL, string $message = ''): voidassertCount(int $expectedCount, (Countable|iterable) $haystack, string $message = ''): voidassertNotCount(int $expectedCount, (Countable|iterable) $haystack, string $message = ''): voidassertEquals(mixed $expected, mixed $actual, string $message = ''): voidassertEqualsCanonicalizing(mixed $expected, mixed $actual, string $message = ''): voidassertEqualsIgnoringCase(mixed $expected, mixed $actual, string $message = ''): voidassertEqualsWithDelta(mixed $expected, mixed $actual, float $delta, string $message = ''): voidassertNotEquals(mixed $expected, mixed $actual, string $message = ''): voidassertNotEqualsCanonicalizing(mixed $expected, mixed $actual, string $message = ''): voidassertNotEqualsIgnoringCase(mixed $expected, mixed $actual, string $message = ''): voidassertNotEqualsWithDelta(mixed $expected, mixed $actual, float $delta, string $message = ''): voidassertObjectEquals(object $expected, object $actual, string $method = 'equals', string $message = ''): voidassertEmpty(mixed $actual, string $message = ''): voidassertNotEmpty(mixed $actual, string $message = ''): voidassertGreaterThan(mixed $expected, mixed $actual, string $message = ''): voidassertGreaterThanOrEqual(mixed $expected, mixed $actual, string $message = ''): voidassertLessThan(mixed $expected, mixed $actual, string $message = ''): voidassertLessThanOrEqual(mixed $expected, mixed $actual, string $message = ''): voidassertFileEquals(string $expected, string $actual, string $message = ''): voidassertFileEqualsCanonicalizing(string $expected, string $actual, string $message = ''): voidassertFileEqualsIgnoringCase(string $expected, string $actual, string $message = ''): voidassertFileNotEquals(string $expected, string $actual, string $message = ''): voidassertFileNotEqualsCanonicalizing(string $expected, string $actual, string $message = ''): voidassertFileNotEqualsIgnoringCase(string $expected, string $actual, string $message = ''): voidassertStringEqualsFile(string $expectedFile, string $actualString, string $message = ''): voidassertStringEqualsFileCanonicalizing(string $expectedFile, string $actualString, string $message = ''): voidassertStringEqualsFileIgnoringCase(string $expectedFile, string $actualString, string $message = ''): voidassertStringNotEqualsFile(string $expectedFile, string $actualString, string $message = ''): voidassertStringNotEqualsFileCanonicalizing(string $expectedFile, string $actualString, string $message = ''): voidassertStringNotEqualsFileIgnoringCase(string $expectedFile, string $actualString, string $message = ''): voidassertIsReadable(string $filename, string $message = ''): voidassertIsNotReadable(string $filename, string $message = ''): voidassertIsWritable(string $filename, string $message = ''): voidassertIsNotWritable(string $filename, string $message = ''): voidassertDirectoryExists(string $directory, string $message = ''): voidassertDirectoryDoesNotExist(string $directory, string $message = ''): voidassertDirectoryIsReadable(string $directory, string $message = ''): voidassertDirectoryIsNotReadable(string $directory, string $message = ''): voidassertDirectoryIsWritable(string $directory, string $message = ''): voidassertDirectoryIsNotWritable(string $directory, string $message = ''): voidassertFileExists(string $filename, string $message = ''): voidassertFileDoesNotExist(string $filename, string $message = ''): voidassertFileIsReadable(string $file, string $message = ''): voidassertFileIsNotReadable(string $file, string $message = ''): voidassertFileIsWritable(string $file, string $message = ''): voidassertFileIsNotWritable(string $file, string $message = ''): voidassertTrue(mixed $condition, string $message = ''): voidassertNotTrue(mixed $condition, string $message = ''): voidassertFalse(mixed $condition, string $message = ''): voidassertNotFalse(mixed $condition, string $message = ''): voidassertNull(mixed $actual, string $message = ''): voidassertNotNull(mixed $actual, string $message = ''): voidassertFinite(mixed $actual, string $message = ''): voidassertInfinite(mixed $actual, string $message = ''): voidassertNan(mixed $actual, string $message = ''): voidassertObjectHasProperty(string $propertyName, object $object, string $message = ''): voidassertObjectNotHasProperty(string $propertyName, object $object, string $message = ''): voidassertSame(ExpectedType $expected, mixed $actual, string $message = ''): voidassertNotSame(mixed $expected, mixed $actual, string $message = ''): voidassertInstanceOf(class-string<ExpectedType> $expected, mixed $actual, string $message = ''): voidassertNotInstanceOf(class-string<ExpectedType> $expected, mixed $actual, string $message = ''): voidassertIsArray(mixed $actual, string $message = ''): voidassertIsBool(mixed $actual, string $message = ''): voidassertIsFloat(mixed $actual, string $message = ''): voidassertIsInt(mixed $actual, string $message = ''): voidassertIsNumeric(mixed $actual, string $message = ''): voidassertIsObject(mixed $actual, string $message = ''): voidassertIsResource(mixed $actual, string $message = ''): voidassertIsClosedResource(mixed $actual, string $message = ''): voidassertIsString(mixed $actual, string $message = ''): voidassertIsScalar(mixed $actual, string $message = ''): voidassertIsCallable(mixed $actual, string $message = ''): voidassertIsIterable(mixed $actual, string $message = ''): voidassertIsNotArray(mixed $actual, string $message = ''): voidassertIsNotBool(mixed $actual, string $message = ''): voidassertIsNotFloat(mixed $actual, string $message = ''): voidassertIsNotInt(mixed $actual, string $message = ''): voidassertIsNotNumeric(mixed $actual, string $message = ''): voidassertIsNotObject(mixed $actual, string $message = ''): voidassertIsNotResource(mixed $actual, string $message = ''): voidassertIsNotClosedResource(mixed $actual, string $message = ''): voidassertIsNotString(mixed $actual, string $message = ''): voidassertIsNotScalar(mixed $actual, string $message = ''): voidassertIsNotCallable(mixed $actual, string $message = ''): voidassertIsNotIterable(mixed $actual, string $message = ''): voidassertMatchesRegularExpression(string $pattern, string $string, string $message = ''): voidassertDoesNotMatchRegularExpression(string $pattern, string $string, string $message = ''): voidassertSameSize((Countable|iterable) $expected, (Countable|iterable) $actual, string $message = ''): voidassertNotSameSize((Countable|iterable) $expected, (Countable|iterable) $actual, string $message = ''): voidassertStringMatchesFormat(string $format, string $string, string $message = ''): voidassertStringNotMatchesFormat(string $format, string $string, string $message = ''): voidassertStringMatchesFormatFile(string $formatFile, string $string, string $message = ''): voidassertStringNotMatchesFormatFile(string $formatFile, string $string, string $message = ''): voidassertStringStartsWith(string $prefix, string $string, string $message = ''): voidassertStringStartsNotWith(string $prefix, string $string, string $message = ''): voidassertStringContainsString(string $needle, string $haystack, string $message = ''): voidassertStringContainsStringIgnoringCase(string $needle, string $haystack, string $message = ''): voidassertStringNotContainsString(string $needle, string $haystack, string $message = ''): voidassertStringNotContainsStringIgnoringCase(string $needle, string $haystack, string $message = ''): voidassertStringEndsWith(string $suffix, string $string, string $message = ''): voidassertStringEndsNotWith(string $suffix, string $string, string $message = ''): voidassertXmlFileEqualsXmlFile(string $expectedFile, string $actualFile, string $message = ''): voidassertXmlFileNotEqualsXmlFile(string $expectedFile, string $actualFile, string $message = ''): voidassertXmlStringEqualsXmlFile(string $expectedFile, (DOMDocument|string) $actualXml, string $message = ''): voidassertXmlStringNotEqualsXmlFile(string $expectedFile, (DOMDocument|string) $actualXml, string $message = ''): voidassertXmlStringEqualsXmlString((DOMDocument|string) $expectedXml, (DOMDocument|string) $actualXml, string $message = ''): voidassertXmlStringNotEqualsXmlString((DOMDocument|string) $expectedXml, (DOMDocument|string) $actualXml, string $message = ''): voidassertThat(mixed $value, \PHPUnit\Framework\Constraint\Constraint $constraint, string $message = ''): voidassertJson(string $actualJson, string $message = ''): voidassertJsonStringEqualsJsonString(string $expectedJson, string $actualJson, string $message = ''): voidassertJsonStringNotEqualsJsonString(string $expectedJson, string $actualJson, string $message = ''): voidassertJsonStringEqualsJsonFile(string $expectedFile, string $actualJson, string $message = ''): voidassertJsonStringNotEqualsJsonFile(string $expectedFile, string $actualJson, string $message = ''): voidassertJsonFileEqualsJsonFile(string $expectedFile, string $actualFile, string $message = ''): voidassertJsonFileNotEqualsJsonFile(string $expectedFile, string $actualFile, string $message = ''): voidlogicalAnd(): \PHPUnit\Framework\Constraint\LogicalAndlogicalOr(): \PHPUnit\Framework\Constraint\LogicalOrlogicalNot(\PHPUnit\Framework\Constraint\Constraint $constraint): \PHPUnit\Framework\Constraint\LogicalNotlogicalXor(): \PHPUnit\Framework\Constraint\LogicalXoranything(): \PHPUnit\Framework\Constraint\IsAnythingisTrue(): \PHPUnit\Framework\Constraint\IsTruecallback(callable(CallbackInput $callback): boo) $callback): Callback<CallbackInput>isFalse(): \PHPUnit\Framework\Constraint\IsFalseisJson(): \PHPUnit\Framework\Constraint\IsJsonisNull(): \PHPUnit\Framework\Constraint\IsNullisFinite(): \PHPUnit\Framework\Constraint\IsFiniteisInfinite(): \PHPUnit\Framework\Constraint\IsInfiniteisNan(): \PHPUnit\Framework\Constraint\IsNancontainsEqual(mixed $value): \PHPUnit\Framework\Constraint\TraversableContainsEqualcontainsIdentical(mixed $value): \PHPUnit\Framework\Constraint\TraversableContainsIdenticalcontainsOnly(string $type): \PHPUnit\Framework\Constraint\TraversableContainsOnlycontainsOnlyInstancesOf(string $className): \PHPUnit\Framework\Constraint\TraversableContainsOnlyarrayHasKey((int|string) $key): \PHPUnit\Framework\Constraint\ArrayHasKeyequalTo(mixed $value): \PHPUnit\Framework\Constraint\IsEqualequalToCanonicalizing(mixed $value): \PHPUnit\Framework\Constraint\IsEqualCanonicalizingequalToIgnoringCase(mixed $value): \PHPUnit\Framework\Constraint\IsEqualIgnoringCaseequalToWithDelta(mixed $value, float $delta): \PHPUnit\Framework\Constraint\IsEqualWithDeltaisEmpty(): \PHPUnit\Framework\Constraint\IsEmptyisWritable(): \PHPUnit\Framework\Constraint\IsWritableisReadable(): \PHPUnit\Framework\Constraint\IsReadabledirectoryExists(): \PHPUnit\Framework\Constraint\DirectoryExistsfileExists(): \PHPUnit\Framework\Constraint\FileExistsgreaterThan(mixed $value): \PHPUnit\Framework\Constraint\GreaterThangreaterThanOrEqual(mixed $value): \PHPUnit\Framework\Constraint\LogicalOridenticalTo(mixed $value): \PHPUnit\Framework\Constraint\IsIdenticalisInstanceOf(string $className): \PHPUnit\Framework\Constraint\IsInstanceOfisType(string $type): \PHPUnit\Framework\Constraint\IsTypelessThan(mixed $value): \PHPUnit\Framework\Constraint\LessThanlessThanOrEqual(mixed $value): \PHPUnit\Framework\Constraint\LogicalOrmatchesRegularExpression(string $pattern): \PHPUnit\Framework\Constraint\RegularExpressionmatches(string $string): \PHPUnit\Framework\Constraint\StringMatchesFormatDescriptionstringStartsWith(mixed $prefix): \PHPUnit\Framework\Constraint\StringStartsWithstringContains(string $string, bool $case = true): \PHPUnit\Framework\Constraint\StringContainsstringEndsWith(string $suffix): \PHPUnit\Framework\Constraint\StringEndsWithcountOf(int $count): \PHPUnit\Framework\Constraint\CountobjectEquals(object $object, string $method = 'equals'): \PHPUnit\Framework\Constraint\ObjectEqualsfail(string $message = ''): never-returnmarkTestIncomplete(string $message = ''): never-returnmarkTestSkipped(string $message = ''): never-returngetCount(): intresetCount(): void
Methods:
testHevcRecordsThroughRtp(): void
testAv1RecordsThroughRtp(): void
any(): \PHPUnit\Framework\MockObject\Rule\AnyInvokedCount
Returns a matcher that matches when the method is executed zero or more times.
See also:
\PHPUnit\Framework\MockObject\Rule\AnyInvokedCount
never(): \PHPUnit\Framework\MockObject\Rule\InvokedCount
Returns a matcher that matches when the method is never executed.
See also:
\PHPUnit\Framework\MockObject\Rule\InvokedCount
atLeast(int $requiredInvocations): \PHPUnit\Framework\MockObject\Rule\InvokedAtLeastCount
Returns a matcher that matches when the method is executed at least N times.
Parameters:
$requiredInvocations:int
See also:
\PHPUnit\Framework\MockObject\Rule\InvokedAtLeastCount
atLeastOnce(): \PHPUnit\Framework\MockObject\Rule\InvokedAtLeastOnce
Returns a matcher that matches when the method is executed at least once.
See also:
\PHPUnit\Framework\MockObject\Rule\InvokedAtLeastOnce
once(): \PHPUnit\Framework\MockObject\Rule\InvokedCount
Returns a matcher that matches when the method is executed exactly once.
See also:
\PHPUnit\Framework\MockObject\Rule\InvokedCount
exactly(int $count): \PHPUnit\Framework\MockObject\Rule\InvokedCount
Returns a matcher that matches when the method is executed exactly $count times.
Parameters:
$count:int
See also:
\PHPUnit\Framework\MockObject\Rule\InvokedCount
atMost(int $allowedInvocations): \PHPUnit\Framework\MockObject\Rule\InvokedAtMostCount
Returns a matcher that matches when the method is executed at most N times.
Parameters:
$allowedInvocations:int
See also:
\PHPUnit\Framework\MockObject\Rule\InvokedAtMostCount
returnValue(mixed $value): \PHPUnit\Framework\MockObject\Stub\ReturnStub
Parameters:
$value:mixed
See also:
\PHPUnit\Framework\MockObject\Stub\ReturnStub
returnValueMap(array $valueMap): \PHPUnit\Framework\MockObject\Stub\ReturnValueMap
Parameters:
$valueMap:array
See also:
\PHPUnit\Framework\MockObject\Stub\ReturnValueMap
returnArgument(int $argumentIndex): \PHPUnit\Framework\MockObject\Stub\ReturnArgument
Parameters:
$argumentIndex:int
See also:
\PHPUnit\Framework\MockObject\Stub\ReturnArgument
returnCallback(mixed $callback): \PHPUnit\Framework\MockObject\Stub\ReturnCallback
Parameters:
$callback:mixed
See also:
\PHPUnit\Framework\MockObject\Stub\ReturnCallback
returnSelf(): \PHPUnit\Framework\MockObject\Stub\ReturnSelf
Returns the current object.
This method is useful when mocking a fluent interface.
See also:
\PHPUnit\Framework\MockObject\Stub\ReturnSelf
throwException(Throwable $exception): \PHPUnit\Framework\MockObject\Stub\Exception
Parameters:
$exception:Throwable
See also:
Throwable\PHPUnit\Framework\MockObject\Stub\Exception
onConsecutiveCalls(mixed ...$args): \PHPUnit\Framework\MockObject\Stub\ConsecutiveCalls
Parameters:
...$args:mixed
See also:
\PHPUnit\Framework\MockObject\Stub\ConsecutiveCalls
setUpBeforeClass(): void
This method is called before the first test of this test class is run.
tearDownAfterClass(): void
This method is called after the last test of this test class is run.
toString(): string
Returns a string representation of the test case.
count(): int
getActualOutputForAssertion(): string
expectOutputRegex(string $expectedRegex): void
Parameters:
$expectedRegex:string
expectOutputString(string $expectedString): void
Parameters:
$expectedString:string
expectException(class-string<Throwable> $exception): void
Parameters:
$exception:class-string<Throwable>
See also:
Throwable
expectExceptionCode((int|string) $code): void
Parameters:
$code:(int|string)
expectExceptionMessage(string $message): void
Parameters:
$message:string
expectExceptionMessageMatches(string $regularExpression): void
Parameters:
$regularExpression:string
expectExceptionObject(Exception $exception): void
Sets up an expectation for an exception to be raised by the code under test. Information for expected exception class, expected exception message, and
expected exception code are retrieved from a given Exception object.
Parameters:
$exception:Exception
See also:
Exception
expectNotToPerformAssertions(): void
getStatus(): int
markAsRisky(): void
getStatusMessage(): string
hasFailed(): bool
run(?\PHPUnit\Framework\TestResult $result = NULL): \PHPUnit\Framework\TestResult
Runs the test case and collects the results in a TestResult object. If no TestResult object is passed a new one will be created.
Parameters:
$result:?\PHPUnit\Framework\TestResult
See also:
\PHPUnit\Framework\TestResult
getMockBuilder(class-string<RealInstanceType> $className): MockBuilder<RealInstanceType>
Returns a builder object to create mock objects using a fluent interface.
Parameters:
$className:class-string<RealInstanceType>
See also:
RealInstanceTypeMockBuilder
registerComparator(\SebastianBergmann\Comparator\Comparator $comparator): void
Parameters:
$comparator:\SebastianBergmann\Comparator\Comparator
See also:
\SebastianBergmann\Comparator\Comparator
sortId(): string
provides(): list<ExecutionOrderDependency>
Returns the normalized test name as class::method.
See also:
ExecutionOrderDependency
requires(): list<ExecutionOrderDependency>
Returns a list of normalized dependency names, class::method.
This list can differ from the raw dependencies as the resolver has
no need for the [!][shallow]clone prefix that is filtered out
during normalization.
See also:
ExecutionOrderDependency
assertArrayHasKey((int|string) $key, (array|ArrayAccess) $array, string $message = ''): void
Asserts that an array has a specified key.
Parameters:
$key:(int|string)$array:(array|ArrayAccess)$message:string
See also:
ArrayAccess
assertArrayNotHasKey((int|string) $key, (array|ArrayAccess) $array, string $message = ''): void
Asserts that an array does not have a specified key.
Parameters:
$key:(int|string)$array:(array|ArrayAccess)$message:string
See also:
ArrayAccess
assertContains(mixed $needle, iterable $haystack, string $message = ''): void
Asserts that a haystack contains a needle.
Parameters:
$needle:mixed$haystack:iterable$message:string
assertContainsEquals(mixed $needle, iterable $haystack, string $message = ''): void
Parameters:
$needle:mixed$haystack:iterable$message:string
assertNotContains(mixed $needle, iterable $haystack, string $message = ''): void
Asserts that a haystack does not contain a needle.
Parameters:
$needle:mixed$haystack:iterable$message:string
assertNotContainsEquals(mixed $needle, iterable $haystack, string $message = ''): void
Parameters:
$needle:mixed$haystack:iterable$message:string
assertContainsOnly(string $type, iterable $haystack, ?bool $isNativeType = NULL, string $message = ''): void
Asserts that a haystack contains only values of a given type.
Parameters:
$type:string$haystack:iterable$isNativeType:?bool$message:string
assertContainsOnlyInstancesOf(string $className, iterable $haystack, string $message = ''): void
Asserts that a haystack contains only instances of a given class name.
Parameters:
$className:string$haystack:iterable$message:string
assertNotContainsOnly(string $type, iterable $haystack, ?bool $isNativeType = NULL, string $message = ''): void
Asserts that a haystack does not contain only values of a given type.
Parameters:
$type:string$haystack:iterable$isNativeType:?bool$message:string
assertCount(int $expectedCount, (Countable|iterable) $haystack, string $message = ''): void
Asserts the number of elements of an array, Countable or Traversable.
Parameters:
$expectedCount:int$haystack:(Countable|iterable)$message:string
See also:
Countable
assertNotCount(int $expectedCount, (Countable|iterable) $haystack, string $message = ''): void
Asserts the number of elements of an array, Countable or Traversable.
Parameters:
$expectedCount:int$haystack:(Countable|iterable)$message:string
See also:
Countable
assertEquals(mixed $expected, mixed $actual, string $message = ''): void
Asserts that two variables are equal.
Parameters:
$expected:mixed$actual:mixed$message:string
assertEqualsCanonicalizing(mixed $expected, mixed $actual, string $message = ''): void
Asserts that two variables are equal (canonicalizing).
Parameters:
$expected:mixed$actual:mixed$message:string
assertEqualsIgnoringCase(mixed $expected, mixed $actual, string $message = ''): void
Asserts that two variables are equal (ignoring case).
Parameters:
$expected:mixed$actual:mixed$message:string
assertEqualsWithDelta(mixed $expected, mixed $actual, float $delta, string $message = ''): void
Asserts that two variables are equal (with delta).
Parameters:
$expected:mixed$actual:mixed$delta:float$message:string
assertNotEquals(mixed $expected, mixed $actual, string $message = ''): void
Asserts that two variables are not equal.
Parameters:
$expected:mixed$actual:mixed$message:string
assertNotEqualsCanonicalizing(mixed $expected, mixed $actual, string $message = ''): void
Asserts that two variables are not equal (canonicalizing).
Parameters:
$expected:mixed$actual:mixed$message:string
assertNotEqualsIgnoringCase(mixed $expected, mixed $actual, string $message = ''): void
Asserts that two variables are not equal (ignoring case).
Parameters:
$expected:mixed$actual:mixed$message:string
assertNotEqualsWithDelta(mixed $expected, mixed $actual, float $delta, string $message = ''): void
Asserts that two variables are not equal (with delta).
Parameters:
$expected:mixed$actual:mixed$delta:float$message:string
assertObjectEquals(object $expected, object $actual, string $method = 'equals', string $message = ''): void
Parameters:
$expected:object$actual:object$method:string$message:string
assertEmpty(mixed $actual, string $message = ''): void
Asserts that a variable is empty.
Parameters:
$actual:mixed$message:string
assertNotEmpty(mixed $actual, string $message = ''): void
Asserts that a variable is not empty.
Parameters:
$actual:mixed$message:string
assertGreaterThan(mixed $expected, mixed $actual, string $message = ''): void
Asserts that a value is greater than another value.
Parameters:
$expected:mixed$actual:mixed$message:string
assertGreaterThanOrEqual(mixed $expected, mixed $actual, string $message = ''): void
Asserts that a value is greater than or equal to another value.
Parameters:
$expected:mixed$actual:mixed$message:string
assertLessThan(mixed $expected, mixed $actual, string $message = ''): void
Asserts that a value is smaller than another value.
Parameters:
$expected:mixed$actual:mixed$message:string
assertLessThanOrEqual(mixed $expected, mixed $actual, string $message = ''): void
Asserts that a value is smaller than or equal to another value.
Parameters:
$expected:mixed$actual:mixed$message:string
assertFileEquals(string $expected, string $actual, string $message = ''): void
Asserts that the contents of one file is equal to the contents of another file.
Parameters:
$expected:string$actual:string$message:string
assertFileEqualsCanonicalizing(string $expected, string $actual, string $message = ''): void
Asserts that the contents of one file is equal to the contents of another file (canonicalizing).
Parameters:
$expected:string$actual:string$message:string
assertFileEqualsIgnoringCase(string $expected, string $actual, string $message = ''): void
Asserts that the contents of one file is equal to the contents of another file (ignoring case).
Parameters:
$expected:string$actual:string$message:string
assertFileNotEquals(string $expected, string $actual, string $message = ''): void
Asserts that the contents of one file is not equal to the contents of another file.
Parameters:
$expected:string$actual:string$message:string
assertFileNotEqualsCanonicalizing(string $expected, string $actual, string $message = ''): void
Asserts that the contents of one file is not equal to the contents of another file (canonicalizing).
Parameters:
$expected:string$actual:string$message:string
assertFileNotEqualsIgnoringCase(string $expected, string $actual, string $message = ''): void
Asserts that the contents of one file is not equal to the contents of another file (ignoring case).
Parameters:
$expected:string$actual:string$message:string
assertStringEqualsFile(string $expectedFile, string $actualString, string $message = ''): void
Asserts that the contents of a string is equal to the contents of a file.
Parameters:
$expectedFile:string$actualString:string$message:string
assertStringEqualsFileCanonicalizing(string $expectedFile, string $actualString, string $message = ''): void
Asserts that the contents of a string is equal to the contents of a file (canonicalizing).
Parameters:
$expectedFile:string$actualString:string$message:string
assertStringEqualsFileIgnoringCase(string $expectedFile, string $actualString, string $message = ''): void
Asserts that the contents of a string is equal to the contents of a file (ignoring case).
Parameters:
$expectedFile:string$actualString:string$message:string
assertStringNotEqualsFile(string $expectedFile, string $actualString, string $message = ''): void
Asserts that the contents of a string is not equal to the contents of a file.
Parameters:
$expectedFile:string$actualString:string$message:string
assertStringNotEqualsFileCanonicalizing(string $expectedFile, string $actualString, string $message = ''): void
Asserts that the contents of a string is not equal to the contents of a file (canonicalizing).
Parameters:
$expectedFile:string$actualString:string$message:string
assertStringNotEqualsFileIgnoringCase(string $expectedFile, string $actualString, string $message = ''): void
Asserts that the contents of a string is not equal to the contents of a file (ignoring case).
Parameters:
$expectedFile:string$actualString:string$message:string
assertIsReadable(string $filename, string $message = ''): void
Asserts that a file/dir is readable.
Parameters:
$filename:string$message:string
assertIsNotReadable(string $filename, string $message = ''): void
Asserts that a file/dir exists and is not readable.
Parameters:
$filename:string$message:string
assertIsWritable(string $filename, string $message = ''): void
Asserts that a file/dir exists and is writable.
Parameters:
$filename:string$message:string
assertIsNotWritable(string $filename, string $message = ''): void
Asserts that a file/dir exists and is not writable.
Parameters:
$filename:string$message:string
assertDirectoryExists(string $directory, string $message = ''): void
Asserts that a directory exists.
Parameters:
$directory:string$message:string
assertDirectoryDoesNotExist(string $directory, string $message = ''): void
Asserts that a directory does not exist.
Parameters:
$directory:string$message:string
assertDirectoryIsReadable(string $directory, string $message = ''): void
Asserts that a directory exists and is readable.
Parameters:
$directory:string$message:string
assertDirectoryIsNotReadable(string $directory, string $message = ''): void
Asserts that a directory exists and is not readable.
Parameters:
$directory:string$message:string
assertDirectoryIsWritable(string $directory, string $message = ''): void
Asserts that a directory exists and is writable.
Parameters:
$directory:string$message:string
assertDirectoryIsNotWritable(string $directory, string $message = ''): void
Asserts that a directory exists and is not writable.
Parameters:
$directory:string$message:string
assertFileExists(string $filename, string $message = ''): void
Asserts that a file exists.
Parameters:
$filename:string$message:string
assertFileDoesNotExist(string $filename, string $message = ''): void
Asserts that a file does not exist.
Parameters:
$filename:string$message:string
assertFileIsReadable(string $file, string $message = ''): void
Asserts that a file exists and is readable.
Parameters:
$file:string$message:string
assertFileIsNotReadable(string $file, string $message = ''): void
Asserts that a file exists and is not readable.
Parameters:
$file:string$message:string
assertFileIsWritable(string $file, string $message = ''): void
Asserts that a file exists and is writable.
Parameters:
$file:string$message:string
assertFileIsNotWritable(string $file, string $message = ''): void
Asserts that a file exists and is not writable.
Parameters:
$file:string$message:string
assertTrue(mixed $condition, string $message = ''): void
Asserts that a condition is true.
Parameters:
$condition:mixed$message:string
assertNotTrue(mixed $condition, string $message = ''): void
Asserts that a condition is not true.
Parameters:
$condition:mixed$message:string
assertFalse(mixed $condition, string $message = ''): void
Asserts that a condition is false.
Parameters:
$condition:mixed$message:string
assertNotFalse(mixed $condition, string $message = ''): void
Asserts that a condition is not false.
Parameters:
$condition:mixed$message:string
assertNull(mixed $actual, string $message = ''): void
Asserts that a variable is null.
Parameters:
$actual:mixed$message:string
assertNotNull(mixed $actual, string $message = ''): void
Asserts that a variable is not null.
Parameters:
$actual:mixed$message:string
assertFinite(mixed $actual, string $message = ''): void
Asserts that a variable is finite.
Parameters:
$actual:mixed$message:string
assertInfinite(mixed $actual, string $message = ''): void
Asserts that a variable is infinite.
Parameters:
$actual:mixed$message:string
assertNan(mixed $actual, string $message = ''): void
Asserts that a variable is nan.
Parameters:
$actual:mixed$message:string
assertObjectHasProperty(string $propertyName, object $object, string $message = ''): void
Asserts that an object has a specified property.
Parameters:
$propertyName:string$object:object$message:string
assertObjectNotHasProperty(string $propertyName, object $object, string $message = ''): void
Asserts that an object does not have a specified property.
Parameters:
$propertyName:string$object:object$message:string
assertSame(ExpectedType $expected, mixed $actual, string $message = ''): void
Asserts that two variables have the same type and value. Used on objects, it asserts that two variables reference
the same object.
Parameters:
$expected:ExpectedType$actual:mixed$message:string
See also:
ExpectedType
assertNotSame(mixed $expected, mixed $actual, string $message = ''): void
Asserts that two variables do not have the same type and value. Used on objects, it asserts that two variables do not reference
the same object.
Parameters:
$expected:mixed$actual:mixed$message:string
assertInstanceOf(class-string<ExpectedType> $expected, mixed $actual, string $message = ''): void
Asserts that a variable is of a given type.
Parameters:
$expected:class-string<ExpectedType>$actual:mixed$message:string
See also:
ExpectedType
assertNotInstanceOf(class-string<ExpectedType> $expected, mixed $actual, string $message = ''): void
Asserts that a variable is not of a given type.
Parameters:
$expected:class-string<ExpectedType>$actual:mixed$message:string
See also:
ExpectedType
assertIsArray(mixed $actual, string $message = ''): void
Asserts that a variable is of type array.
Parameters:
$actual:mixed$message:string
assertIsBool(mixed $actual, string $message = ''): void
Asserts that a variable is of type bool.
Parameters:
$actual:mixed$message:string
assertIsFloat(mixed $actual, string $message = ''): void
Asserts that a variable is of type float.
Parameters:
$actual:mixed$message:string
assertIsInt(mixed $actual, string $message = ''): void
Asserts that a variable is of type int.
Parameters:
$actual:mixed$message:string
assertIsNumeric(mixed $actual, string $message = ''): void
Asserts that a variable is of type numeric.
Parameters:
$actual:mixed$message:string
assertIsObject(mixed $actual, string $message = ''): void
Asserts that a variable is of type object.
Parameters:
$actual:mixed$message:string
assertIsResource(mixed $actual, string $message = ''): void
Asserts that a variable is of type resource.
Parameters:
$actual:mixed$message:string
assertIsClosedResource(mixed $actual, string $message = ''): void
Asserts that a variable is of type resource and is closed.
Parameters:
$actual:mixed$message:string
assertIsString(mixed $actual, string $message = ''): void
Asserts that a variable is of type string.
Parameters:
$actual:mixed$message:string
assertIsScalar(mixed $actual, string $message = ''): void
Asserts that a variable is of type scalar.
Parameters:
$actual:mixed$message:string
assertIsCallable(mixed $actual, string $message = ''): void
Asserts that a variable is of type callable.
Parameters:
$actual:mixed$message:string
assertIsIterable(mixed $actual, string $message = ''): void
Asserts that a variable is of type iterable.
Parameters:
$actual:mixed$message:string
assertIsNotArray(mixed $actual, string $message = ''): void
Asserts that a variable is not of type array.
Parameters:
$actual:mixed$message:string
assertIsNotBool(mixed $actual, string $message = ''): void
Asserts that a variable is not of type bool.
Parameters:
$actual:mixed$message:string
assertIsNotFloat(mixed $actual, string $message = ''): void
Asserts that a variable is not of type float.
Parameters:
$actual:mixed$message:string
assertIsNotInt(mixed $actual, string $message = ''): void
Asserts that a variable is not of type int.
Parameters:
$actual:mixed$message:string
assertIsNotNumeric(mixed $actual, string $message = ''): void
Asserts that a variable is not of type numeric.
Parameters:
$actual:mixed$message:string
assertIsNotObject(mixed $actual, string $message = ''): void
Asserts that a variable is not of type object.
Parameters:
$actual:mixed$message:string
assertIsNotResource(mixed $actual, string $message = ''): void
Asserts that a variable is not of type resource.
Parameters:
$actual:mixed$message:string
assertIsNotClosedResource(mixed $actual, string $message = ''): void
Asserts that a variable is not of type resource.
Parameters:
$actual:mixed$message:string
assertIsNotString(mixed $actual, string $message = ''): void
Asserts that a variable is not of type string.
Parameters:
$actual:mixed$message:string
assertIsNotScalar(mixed $actual, string $message = ''): void
Asserts that a variable is not of type scalar.
Parameters:
$actual:mixed$message:string
assertIsNotCallable(mixed $actual, string $message = ''): void
Asserts that a variable is not of type callable.
Parameters:
$actual:mixed$message:string
assertIsNotIterable(mixed $actual, string $message = ''): void
Asserts that a variable is not of type iterable.
Parameters:
$actual:mixed$message:string
assertMatchesRegularExpression(string $pattern, string $string, string $message = ''): void
Asserts that a string matches a given regular expression.
Parameters:
$pattern:string$string:string$message:string
assertDoesNotMatchRegularExpression(string $pattern, string $string, string $message = ''): void
Asserts that a string does not match a given regular expression.
Parameters:
$pattern:string$string:string$message:string
assertSameSize((Countable|iterable) $expected, (Countable|iterable) $actual, string $message = ''): void
Assert that the size of two arrays (or Countable or Traversable objects) is the same.
Parameters:
$expected:(Countable|iterable)$actual:(Countable|iterable)$message:string
See also:
Countable
assertNotSameSize((Countable|iterable) $expected, (Countable|iterable) $actual, string $message = ''): void
Assert that the size of two arrays (or Countable or Traversable objects) is not the same.
Parameters:
$expected:(Countable|iterable)$actual:(Countable|iterable)$message:string
See also:
Countable
assertStringMatchesFormat(string $format, string $string, string $message = ''): void
Asserts that a string matches a given format string.
Parameters:
$format:string$string:string$message:string
assertStringNotMatchesFormat(string $format, string $string, string $message = ''): void
Asserts that a string does not match a given format string.
Parameters:
$format:string$string:string$message:string
assertStringMatchesFormatFile(string $formatFile, string $string, string $message = ''): void
Asserts that a string matches a given format file.
Parameters:
$formatFile:string$string:string$message:string
assertStringNotMatchesFormatFile(string $formatFile, string $string, string $message = ''): void
Asserts that a string does not match a given format string.
Parameters:
$formatFile:string$string:string$message:string
assertStringStartsWith(string $prefix, string $string, string $message = ''): void
Asserts that a string starts with a given prefix.
Parameters:
$prefix:string$string:string$message:string
assertStringStartsNotWith(string $prefix, string $string, string $message = ''): void
Asserts that a string starts not with a given prefix.
Parameters:
$prefix:string$string:string$message:string
assertStringContainsString(string $needle, string $haystack, string $message = ''): void
Parameters:
$needle:string$haystack:string$message:string
assertStringContainsStringIgnoringCase(string $needle, string $haystack, string $message = ''): void
Parameters:
$needle:string$haystack:string$message:string
assertStringNotContainsString(string $needle, string $haystack, string $message = ''): void
Parameters:
$needle:string$haystack:string$message:string
assertStringNotContainsStringIgnoringCase(string $needle, string $haystack, string $message = ''): void
Parameters:
$needle:string$haystack:string$message:string
assertStringEndsWith(string $suffix, string $string, string $message = ''): void
Asserts that a string ends with a given suffix.
Parameters:
$suffix:string$string:string$message:string
assertStringEndsNotWith(string $suffix, string $string, string $message = ''): void
Asserts that a string ends not with a given suffix.
Parameters:
$suffix:string$string:string$message:string
assertXmlFileEqualsXmlFile(string $expectedFile, string $actualFile, string $message = ''): void
Asserts that two XML files are equal.
Parameters:
$expectedFile:string$actualFile:string$message:string
assertXmlFileNotEqualsXmlFile(string $expectedFile, string $actualFile, string $message = ''): void
Asserts that two XML files are not equal.
Parameters:
$expectedFile:string$actualFile:string$message:string
assertXmlStringEqualsXmlFile(string $expectedFile, (DOMDocument|string) $actualXml, string $message = ''): void
Asserts that two XML documents are equal.
Parameters:
$expectedFile:string$actualXml:(DOMDocument|string)$message:string
See also:
DOMDocument
assertXmlStringNotEqualsXmlFile(string $expectedFile, (DOMDocument|string) $actualXml, string $message = ''): void
Asserts that two XML documents are not equal.
Parameters:
$expectedFile:string$actualXml:(DOMDocument|string)$message:string
See also:
DOMDocument
assertXmlStringEqualsXmlString((DOMDocument|string) $expectedXml, (DOMDocument|string) $actualXml, string $message = ''): void
Asserts that two XML documents are equal.
Parameters:
$expectedXml:(DOMDocument|string)$actualXml:(DOMDocument|string)$message:string
See also:
DOMDocument
assertXmlStringNotEqualsXmlString((DOMDocument|string) $expectedXml, (DOMDocument|string) $actualXml, string $message = ''): void
Asserts that two XML documents are not equal.
Parameters:
$expectedXml:(DOMDocument|string)$actualXml:(DOMDocument|string)$message:string
See also:
DOMDocument
assertThat(mixed $value, \PHPUnit\Framework\Constraint\Constraint $constraint, string $message = ''): void
Evaluates a PHPUnit\Framework\Constraint matcher object.
Parameters:
$value:mixed$constraint:\PHPUnit\Framework\Constraint\Constraint$message:string
See also:
\PHPUnit\Framework\Constraint\Constraint
assertJson(string $actualJson, string $message = ''): void
Asserts that a string is a valid JSON string.
Parameters:
$actualJson:string$message:string
assertJsonStringEqualsJsonString(string $expectedJson, string $actualJson, string $message = ''): void
Asserts that two given JSON encoded objects or arrays are equal.
Parameters:
$expectedJson:string$actualJson:string$message:string
assertJsonStringNotEqualsJsonString(string $expectedJson, string $actualJson, string $message = ''): void
Asserts that two given JSON encoded objects or arrays are not equal.
Parameters:
$expectedJson:string$actualJson:string$message:string
assertJsonStringEqualsJsonFile(string $expectedFile, string $actualJson, string $message = ''): void
Asserts that the generated JSON encoded object and the content of the given file are equal.
Parameters:
$expectedFile:string$actualJson:string$message:string
assertJsonStringNotEqualsJsonFile(string $expectedFile, string $actualJson, string $message = ''): void
Asserts that the generated JSON encoded object and the content of the given file are not equal.
Parameters:
$expectedFile:string$actualJson:string$message:string
assertJsonFileEqualsJsonFile(string $expectedFile, string $actualFile, string $message = ''): void
Asserts that two JSON files are equal.
Parameters:
$expectedFile:string$actualFile:string$message:string
assertJsonFileNotEqualsJsonFile(string $expectedFile, string $actualFile, string $message = ''): void
Asserts that two JSON files are not equal.
Parameters:
$expectedFile:string$actualFile:string$message:string
logicalAnd(): \PHPUnit\Framework\Constraint\LogicalAnd
See also:
\PHPUnit\Framework\Constraint\LogicalAnd
logicalOr(): \PHPUnit\Framework\Constraint\LogicalOr
See also:
\PHPUnit\Framework\Constraint\LogicalOr
logicalNot(\PHPUnit\Framework\Constraint\Constraint $constraint): \PHPUnit\Framework\Constraint\LogicalNot
Parameters:
$constraint:\PHPUnit\Framework\Constraint\Constraint
See also:
\PHPUnit\Framework\Constraint\Constraint\PHPUnit\Framework\Constraint\LogicalNot
logicalXor(): \PHPUnit\Framework\Constraint\LogicalXor
See also:
\PHPUnit\Framework\Constraint\LogicalXor
anything(): \PHPUnit\Framework\Constraint\IsAnything
See also:
\PHPUnit\Framework\Constraint\IsAnything
isTrue(): \PHPUnit\Framework\Constraint\IsTrue
See also:
\PHPUnit\Framework\Constraint\IsTrue
callback(callable(CallbackInput $callback): boo) $callback): Callback<CallbackInput>
Parameters:
$callback:callable(CallbackInput $callback): boo)
See also:
CallbackInputCallback
isFalse(): \PHPUnit\Framework\Constraint\IsFalse
See also:
\PHPUnit\Framework\Constraint\IsFalse
isJson(): \PHPUnit\Framework\Constraint\IsJson
See also:
\PHPUnit\Framework\Constraint\IsJson
isNull(): \PHPUnit\Framework\Constraint\IsNull
See also:
\PHPUnit\Framework\Constraint\IsNull
isFinite(): \PHPUnit\Framework\Constraint\IsFinite
See also:
\PHPUnit\Framework\Constraint\IsFinite
isInfinite(): \PHPUnit\Framework\Constraint\IsInfinite
See also:
\PHPUnit\Framework\Constraint\IsInfinite
isNan(): \PHPUnit\Framework\Constraint\IsNan
See also:
\PHPUnit\Framework\Constraint\IsNan
containsEqual(mixed $value): \PHPUnit\Framework\Constraint\TraversableContainsEqual
Parameters:
$value:mixed
See also:
\PHPUnit\Framework\Constraint\TraversableContainsEqual
containsIdentical(mixed $value): \PHPUnit\Framework\Constraint\TraversableContainsIdentical
Parameters:
$value:mixed
See also:
\PHPUnit\Framework\Constraint\TraversableContainsIdentical
containsOnly(string $type): \PHPUnit\Framework\Constraint\TraversableContainsOnly
Parameters:
$type:string
See also:
\PHPUnit\Framework\Constraint\TraversableContainsOnly
containsOnlyInstancesOf(string $className): \PHPUnit\Framework\Constraint\TraversableContainsOnly
Parameters:
$className:string
See also:
\PHPUnit\Framework\Constraint\TraversableContainsOnly
arrayHasKey((int|string) $key): \PHPUnit\Framework\Constraint\ArrayHasKey
Parameters:
$key:(int|string)
See also:
\PHPUnit\Framework\Constraint\ArrayHasKey
equalTo(mixed $value): \PHPUnit\Framework\Constraint\IsEqual
Parameters:
$value:mixed
See also:
\PHPUnit\Framework\Constraint\IsEqual
equalToCanonicalizing(mixed $value): \PHPUnit\Framework\Constraint\IsEqualCanonicalizing
Parameters:
$value:mixed
See also:
\PHPUnit\Framework\Constraint\IsEqualCanonicalizing
equalToIgnoringCase(mixed $value): \PHPUnit\Framework\Constraint\IsEqualIgnoringCase
Parameters:
$value:mixed
See also:
\PHPUnit\Framework\Constraint\IsEqualIgnoringCase
equalToWithDelta(mixed $value, float $delta): \PHPUnit\Framework\Constraint\IsEqualWithDelta
Parameters:
$value:mixed$delta:float
See also:
\PHPUnit\Framework\Constraint\IsEqualWithDelta
isEmpty(): \PHPUnit\Framework\Constraint\IsEmpty
See also:
\PHPUnit\Framework\Constraint\IsEmpty
isWritable(): \PHPUnit\Framework\Constraint\IsWritable
See also:
\PHPUnit\Framework\Constraint\IsWritable
isReadable(): \PHPUnit\Framework\Constraint\IsReadable
See also:
\PHPUnit\Framework\Constraint\IsReadable
directoryExists(): \PHPUnit\Framework\Constraint\DirectoryExists
See also:
\PHPUnit\Framework\Constraint\DirectoryExists
fileExists(): \PHPUnit\Framework\Constraint\FileExists
See also:
\PHPUnit\Framework\Constraint\FileExists
greaterThan(mixed $value): \PHPUnit\Framework\Constraint\GreaterThan
Parameters:
$value:mixed
See also:
\PHPUnit\Framework\Constraint\GreaterThan
greaterThanOrEqual(mixed $value): \PHPUnit\Framework\Constraint\LogicalOr
Parameters:
$value:mixed
See also:
\PHPUnit\Framework\Constraint\LogicalOr
identicalTo(mixed $value): \PHPUnit\Framework\Constraint\IsIdentical
Parameters:
$value:mixed
See also:
\PHPUnit\Framework\Constraint\IsIdentical
isInstanceOf(string $className): \PHPUnit\Framework\Constraint\IsInstanceOf
Parameters:
$className:string
See also:
\PHPUnit\Framework\Constraint\IsInstanceOf
isType(string $type): \PHPUnit\Framework\Constraint\IsType
Parameters:
$type:string
See also:
\PHPUnit\Framework\Constraint\IsType
lessThan(mixed $value): \PHPUnit\Framework\Constraint\LessThan
Parameters:
$value:mixed
See also:
\PHPUnit\Framework\Constraint\LessThan
lessThanOrEqual(mixed $value): \PHPUnit\Framework\Constraint\LogicalOr
Parameters:
$value:mixed
See also:
\PHPUnit\Framework\Constraint\LogicalOr
matchesRegularExpression(string $pattern): \PHPUnit\Framework\Constraint\RegularExpression
Parameters:
$pattern:string
See also:
\PHPUnit\Framework\Constraint\RegularExpression
matches(string $string): \PHPUnit\Framework\Constraint\StringMatchesFormatDescription
Parameters:
$string:string
See also:
\PHPUnit\Framework\Constraint\StringMatchesFormatDescription
stringStartsWith(mixed $prefix): \PHPUnit\Framework\Constraint\StringStartsWith
Parameters:
$prefix:mixed
See also:
\PHPUnit\Framework\Constraint\StringStartsWith
stringContains(string $string, bool $case = true): \PHPUnit\Framework\Constraint\StringContains
Parameters:
$string:string$case:bool
See also:
\PHPUnit\Framework\Constraint\StringContains
stringEndsWith(string $suffix): \PHPUnit\Framework\Constraint\StringEndsWith
Parameters:
$suffix:string
See also:
\PHPUnit\Framework\Constraint\StringEndsWith
countOf(int $count): \PHPUnit\Framework\Constraint\Count
Parameters:
$count:int
See also:
\PHPUnit\Framework\Constraint\Count
objectEquals(object $object, string $method = 'equals'): \PHPUnit\Framework\Constraint\ObjectEquals
Parameters:
$object:object$method:string
See also:
\PHPUnit\Framework\Constraint\ObjectEquals
fail(string $message = ''): never-return
Fails a test with the given message.
Parameters:
$message:string
See also:
never-return
markTestIncomplete(string $message = ''): never-return
Mark the test as incomplete.
Parameters:
$message:string
See also:
never-return
markTestSkipped(string $message = ''): never-return
Mark the test as skipped.
Parameters:
$message:string
See also:
never-return
getCount(): int
Return the current assertion count.
resetCount(): void
Reset the assertion counter.
Generated by danog/phpdoc