eZ\Publish\Core\MVC\Symfony\Matcher\Tests\Block\MultipleValuedTest::testInjectRepository PHP Method

testInjectRepository() public method

    public function testInjectRepository()
    {
        $matcher = $this->getMultipleValuedMatcherMock();
        $repositoryMock = $this->getMock('eZ\\Publish\\API\\Repository\\Repository');
        $matcher->setRepository($repositoryMock);
        $this->assertSame($repositoryMock, $matcher->getRepository());
    }