/**
  * @expectedException Symfony\Component\Form\Exception\TransformationFailedException
  */
 public function testReverseTransformWithNonExistingDate()
 {
     $transformer = new DateTimeToRfc3339Transformer('UTC', 'UTC');
     var_dump($transformer->reverseTransform('2010-04-31T04:05Z'));
 }
 /**
  * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
  */
 public function testReverseTransformExpectsValidDateString()
 {
     $transformer = new DateTimeToRfc3339Transformer('UTC', 'UTC');
     $transformer->reverseTransform('2010-2010-2010');
 }