public function testGetSetCompletedDateNulls() { $expectedDate = new \DateTime(); $this->assertEmpty($this->task->getCompletedDate()); $this->task->setCompletedDate(); $this->assertEquals($expectedDate->format(OPGDateFormat::getDateFormat()), $this->task->getCompletedDate()->format(OPGDateFormat::getDateFormat())); }