public function testGetSetNoticeGivenDateNulls() { $expectedDate = new \DateTime(); $this->assertEmpty($this->poa->getNoticeGivenDate()); $this->poa->setNoticeGivenDate(); $this->assertEquals($expectedDate->format(OPGDateFormat::getDateFormat()), $this->poa->getNoticeGivenDate()->format(OPGDateFormat::getDateFormat())); }