/** * testCheckFalse. * * @expectedException Hogosha\Monitor\Exception\ValidatorException * @expectedExceptionMessage This json is not valid */ public function testInvalidJson() { $htmlValidator = new JsonValidator(); $htmlValidator->check('{"name": "Chuck Norris"', 'name.toto'); }