/** * Tests debugInfo * * @return void */ public function testDebugInfo() { $time = new Time('2014-04-20 10:10:10'); $expected = ['time' => '2014-04-20T10:10:10+0000', 'timezone' => 'UTC', 'fixedNowTime' => Time::getTestNow()->toISO8601String()]; $this->assertEquals($expected, $time->__debugInfo()); }