| 1 | <?php |
||
| 10 | class Assertions |
||
| 11 | { |
||
| 12 | /** @var TestCase */ |
||
| 13 | public static $test_case; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Asserts that the given expected string is the same as the string returned by an object instance's __toString |
||
| 17 | * magic method. |
||
| 18 | * |
||
| 19 | * @throws \PHPUnit_Framework_ExpectationFailedException provided an instance of an object with no __toString |
||
| 20 | * method. |
||
| 21 | * |
||
| 22 | * @param string $expected |
||
| 23 | * @param object $test_instance |
||
| 24 | */ |
||
| 25 | 10 | public static function assertSameAsToString($expected, $test_instance) |
|
| 34 | } |
||
| 35 |