Inheritance: extends NodeValidator
 public function testStrict()
 {
     $this->if($schema_validator = new SchemaValidator())->and($object = new testedClass($schema_validator))->and($config = array('_strict' => true))->then->boolean($object->validate('toto', $config, 'test'))->isEqualTo(true)->exception(function () use($object, $config) {
         $object->validate('test', $config, true);
     })->hasMessage("The node 'test' is not a text value");
 }