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