public function testGetSetCreatedTime() { $expected = new \DateTime('2013-11-22T04:03:02'); $this->assertInstanceOf('Opg\\Core\\Model\\Entity\\Task\\Task', $this->task->setCreatedTime($expected)); $this->assertEquals($expected, $this->task->getCreatedTime()); }