|
file-fetcher
|
Thrown when an assertion for string equality failed.
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 | |
| 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 | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.17