Author: Bernhard Schussek (bschussek@gmail.com)
Author: Florian Eckerstorfer (florian@eckerstorfer.org)
Inheritance: extends Symfony\Component\Form\Extension\Core\DataTransformer\BaseDateTimeTransformer
 /**
  * @expectedException Symfony\Component\Form\Exception\TransformationFailedException
  */
 public function testReverseTransformWithStringYear()
 {
     $transformer = new DateTimeToArrayTransformer();
     $transformer->reverseTransform(array('year' => 'bazinga', 'month' => '2', 'day' => '31', 'hour' => '4', 'minute' => '5', 'second' => '6'));
 }
 /**
  * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
  */
 public function testReverseTransformWithEmptyStringSecond()
 {
     $transformer = new DateTimeToArrayTransformer();
     $transformer->reverseTransform(array('year' => '2010', 'month' => '2', 'day' => '31', 'hour' => '4', 'minute' => '5', 'second' => ''));
 }