ResponseBodyNotContains class final
Framework\Testing\Constraints\ResponseBodyNotContains
Class ResponseBodyNotContains.
Extends PHPUnit\Framework\Constraint\Constraint
Implements:
PHPUnit\Framework\SelfDescribing, Countable
Defined in libraries/testing/src/Constraints/ResponseBodyNotContains.php
Properties #
- $string
- -
$string
private string $string
Methods #
- __construct()
- -
- toString()
- -
- fail()
- -
- matches()
- -
__construct()
public function __construct(string $string)
Parameters
- string $string
toString()
public function toString(): string
Returns
string
fail()
protected function fail(mixed $other, string $description, ?\SebastianBergmann\Comparator\ComparisonFailure $comparisonFailure = NULL): never
Parameters
- mixed $other
- string $description
- ?\SebastianBergmann\Comparator\ComparisonFailure $comparisonFailure
Returns
never
matches()
protected function matches(mixed $other): bool
Parameters
- mixed $other
Returns
bool
Inherited methods #
-
evaluate()fromPHPUnit\Framework\Constraint\Constraint -
count()fromPHPUnit\Framework\Constraint\Constraint -
additionalFailureDescription()fromPHPUnit\Framework\Constraint\Constraint -
failureDescription()fromPHPUnit\Framework\Constraint\Constraint -
toStringInContext()fromPHPUnit\Framework\Constraint\Constraint -
failureDescriptionInContext()fromPHPUnit\Framework\Constraint\Constraint -
reduce()fromPHPUnit\Framework\Constraint\Constraint -
valueToTypeStringFragment()fromPHPUnit\Framework\Constraint\Constraint