/** * @test */ public function setOrganizerForOrganizerSetsOrganizer() { $organizerFixture = new \KevinDitscheid\KdCalendar\Domain\Model\Organizer(); $this->subject->setOrganizer($organizerFixture); $this->assertAttributeEquals($organizerFixture, 'organizer', $this->subject); }