1 | <?php |
||
21 | class JsonValidatorTest extends \PHPUnit_Framework_TestCase |
||
22 | { |
||
23 | /** |
||
24 | * testCheckFalse. |
||
25 | * |
||
26 | * @expectedException Hogosha\Monitor\Exception\ValidatorException |
||
27 | * @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". |
||
28 | */ |
||
29 | public function testException() |
||
34 | |||
35 | /** |
||
36 | * testCheckFalse. |
||
37 | * |
||
38 | * @expectedException Hogosha\Monitor\Exception\ValidatorException |
||
39 | * @expectedExceptionMessage This json is not valid |
||
40 | */ |
||
41 | public function testInvalidJson() |
||
46 | } |
||
47 |