Beispiel #1
0
 public function testNotValidatesJsonArrayGrammar($json)
 {
     $this->assert($json)->if($asserter = new testedClass())->then->object($asserter->setWith($json))->isIdenticalTo($asserter)->exception(function () use($asserter) {
         $asserter->validates('{"title": "test", "type": "array"}');
     });
 }