public function testSetGetEndDate() { $d = new \DateTime(); $this->object->setEndDate($d); $this->assertEquals($d, $this->object->getEndDate()); }