public function testGetCreationTime() { $this->assertInstanceOf('\\Carbon\\Carbon', $this->entity->getCreationTime()); $this->assertEquals('Jun 10, 2010', $this->entity->getCreationTime()->toFormattedDateString()); }
public function testGetCreationTime() { $this->assertEquals('2010-06-10T09:02:16.000+0000', $this->entity->getCreationTime()); }