public function testInjectRepository() { $matcher = $this->getMultipleValuedMatcherMock(); $matcher->setRepository($this->repositoryMock); $this->assertSame($this->repositoryMock, $matcher->getRepository()); }