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