Beispiel #1
0
 /**
  * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
  */
 public function testValidateTypesFailsIfInvalidTypeMultipleOptions()
 {
     $options = array('one' => 'foo', 'two' => 1.23);
     Options::validateTypes($options, array('one' => 'string', 'two' => 'bool'));
 }