/** * Tests UtcDateTimeType->convertToDatabaseValue() */ public function testConvertToDatabaseValue() { $dt = \DateTime::createFromFormat('d/m/Y H:i:s', '05/02/2015 09:10:11'); $this->assertSame('2015-02-05 14:10:11', $this->UtcDateTimeType->convertToDatabaseValue($dt, $this->platform)); }