ResponseNotContainsHeader class final
Framework\Testing\Constraints\ResponseNotContainsHeader
Class ResponseNotContainsHeader.
Extends PHPUnit\Framework\Constraint\Constraint
Implements:
PHPUnit\Framework\SelfDescribing, Countable
Defined in libraries/testing/src/Constraints/ResponseNotContainsHeader.php
Properties #
- $string
- -
$string
private string $string
Methods #
__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
failureDescription()
protected function failureDescription(mixed $other): string
Parameters
- mixed $other
Returns
string
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 -
toStringInContext()fromPHPUnit\Framework\Constraint\Constraint -
failureDescriptionInContext()fromPHPUnit\Framework\Constraint\Constraint -
reduce()fromPHPUnit\Framework\Constraint\Constraint -
valueToTypeStringFragment()fromPHPUnit\Framework\Constraint\Constraint