/** * @test */ public function setUserForUserSetsUser() { $userFixture = new \Frappant\FrpExample\Domain\Model\User(); $this->subject->setUser($userFixture); $this->assertAttributeEquals($userFixture, 'user', $this->subject); }