public function testDateStart() { $testDate = new \DateTime(); $cronTaskLog = new CronTaskLog(); $cronTaskLog->setDateStart($testDate); $this->assertEquals($testDate, $cronTaskLog->getDateStart()); }