Lggr
|
Public Member Functions | |
__construct ($expected, $actual, $expectedAsString, $actualAsString, $identical=false, $message='') | |
getActual () | |
getExpected () | |
getActualAsString () | |
getExpectedAsString () | |
getDiff () | |
toString () | |
Protected Attributes | |
$expected | |
$actual | |
$expectedAsString | |
$actualAsString | |
$identical | |
$message | |
Thrown when an assertion for string equality failed.
SebastianBergmann\Comparator\ComparisonFailure::__construct | ( | $expected, | |
$actual, | |||
$expectedAsString, | |||
$actualAsString, | |||
$identical = false , |
|||
$message = '' |
|||
) |
Initialises with the expected value and the actual value.
mixed | $expected | Expected value retrieved. |
mixed | $actual | Actual value retrieved. |
string | $expectedAsString | |
string | $actualAsString | |
bool | $identical | |
string | $message | A string which is prefixed on all returned lines in the difference output. |
SebastianBergmann\Comparator\ComparisonFailure::getActual | ( | ) |
SebastianBergmann\Comparator\ComparisonFailure::getActualAsString | ( | ) |
SebastianBergmann\Comparator\ComparisonFailure::getDiff | ( | ) |
SebastianBergmann\Comparator\ComparisonFailure::getExpected | ( | ) |
SebastianBergmann\Comparator\ComparisonFailure::getExpectedAsString | ( | ) |
SebastianBergmann\Comparator\ComparisonFailure::toString | ( | ) |