/** * @test * @return void */ public function getHasQueryReturnsTrueIfStartDateSet() { $this->subject->setStartDate(new \DateTime()); $this->assertEquals(true, $this->subject->getHasQuery()); }