eZ\Publish\Core\MVC\Symfony\SiteAccess\Tests\Compound\CompoundAndTest::testReverseMatchSiteAccessNotConfigured PHP Method

testReverseMatchSiteAccessNotConfigured() public method

    public function testReverseMatchSiteAccessNotConfigured()
    {
        $compoundMatcher = $this->buildMatcher();
        $this->matcherBuilder->expects($this->any())->method('buildMatcher')->will($this->returnValue($this->getMock('eZ\\Publish\\Core\\MVC\\Symfony\\SiteAccess\\VersatileMatcher')));
        $compoundMatcher->setRequest($this->getMock('eZ\\Publish\\Core\\MVC\\Symfony\\Routing\\SimplifiedRequest'));
        $compoundMatcher->setMatcherBuilder($this->matcherBuilder);
        $this->assertNull($compoundMatcher->reverseMatch('not_configured_sa'));
    }