示例#1
0
 /**
  * @test
  */
 public function constructorMakesValidatorPresetsAvailable()
 {
     $formDefinition = new FormDefinition('myForm', array('validatorPresets' => array('foo' => 'bar'), 'formElementTypes' => array('TYPO3.Form:Form' => array())));
     $this->assertSame(array('foo' => 'bar'), $formDefinition->getValidatorPresets());
 }