public function testGetLastDateReturnsDateTime() { $date = $this->object->getLastDate(); $this->assertTrue($date instanceof \DateTime); }