예제 #1
0
 /**
  * @test
  * @expectedException Mooti\Validator\Exception\InvalidTypeValidatorException
  * @expectedExceptionMessage The type "foo" is invalid
  */
 public function getTypeValidatorThrowsInvalidTypeValidatorException()
 {
     $type = 'foo';
     $validator = new Validator();
     $validator->getTypeValidator($type);
 }