public function testDate(CallClientInterface $client) { $result = new \DateTime('2011-01-12 23:12:10', new \DateTimeZone('UTC')); $this->assertEquals($result, $client->call('system.echo', array($result))); }