| 1 | <?php |
||
| 8 | class JsonValidatorTest extends \PHPUnit_Framework_TestCase |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * testCheckFalse |
||
| 12 | * @expectedException Hogosha\Monitor\Exception\ValidatorException |
||
| 13 | * @expectedExceptionMessage PropertyAccessor requires a graph of objects or arrays to operate on, but it found type "string" while trying to traverse path "name.toto" at property "toto". |
||
| 14 | */ |
||
| 15 | public function testException() |
||
| 20 | |||
| 21 | /** |
||
| 22 | * testCheckFalse |
||
| 23 | * @expectedException Hogosha\Monitor\Exception\ValidatorException |
||
| 24 | * @expectedExceptionMessage This json is not valid |
||
| 25 | */ |
||
| 26 | public function testInvalidJson() |
||
| 31 | } |
||
| 32 |