public function testTransformExpectsDateTime()
 {
     $transformer = new DateTimeToTimestampTransformer();
     $this->setExpectedException('Symfony\\Component\\Form\\Exception\\UnexpectedTypeException');
     $transformer->transform('1234');
 }
 public function testTransformExpectsDateTime()
 {
     $transformer = new DateTimeToTimestampTransformer();
     $this->setExpectedException('\\InvalidArgumentException');
     $transformer->transform('1234');
 }