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