/** * @test */ public function setStartDateForDateTimeSetsStartDate() { $dateTimeFixture = new \DateTime(); $this->subject->setStartDate($dateTimeFixture); $this->assertAttributeEquals($dateTimeFixture, 'startDate', $this->subject); }