/** * @test */ public function setRepositorySetsRepository() { $repository = new \Mrimann\CoMo\Domain\Model\Repository(); $this->fixture->setRepository($repository); $this->assertSame($this->fixture->getRepository(), $repository); }