/** * @test */ public function setAuthorForAuthorSetsAuthor() { $authorFixture = new \Lobcher\Simpleblog\Domain\Model\Author(); $this->subject->setAuthor($authorFixture); $this->assertAttributeEquals($authorFixture, 'author', $this->subject); }