public function convertFromCastsDateTimeToInteger() { $dateTime = new \DateTime(); $this->assertSame($dateTime->format('U'), $this->converter->convertFrom($dateTime, 'integer')); }