public function testCallUndefinedMethodOfUtcDateTimeShouldCallMongoUtcDateTime() { $date = new DateTime(); $timestamp = $date->getTimestamp(); $this->assertEquals($date, (new UTCDateTime($timestamp))->toDateTime()); }