public function testStartDate() { $startDate = new \DateTime(); $this->query->setStartDate($startDate); $this->assertSame($startDate, $this->query->getStartDate()); }