/** * @test */ public function getStartDateReturnsGivenValueIfValueSet() { $this->subject->setStartDate(new \DateTime('01.01.2014 10:00:00')); $this->assertEquals(new \DateTime('01.01.2014 10:00:00'), $this->subject->getStartDate()); }