Neos\Flow\Tests\Unit\Mvc\Routing\IdentityRoutePartTest::matchValueReturnsFalseIfNoObjectPathMappingCouldBeFound PHP Метод

matchValueReturnsFalseIfNoObjectPathMappingCouldBeFound() публичный Метод

    public function matchValueReturnsFalseIfNoObjectPathMappingCouldBeFound()
    {
        $this->mockObjectPathMappingRepository->expects($this->once())->method('findOneByObjectTypeUriPatternAndPathSegment')->with('SomeObjectType', 'SomeUriPattern', 'TheRoutePath', false)->will($this->returnValue(null));
        $this->identityRoutePart->setObjectType('SomeObjectType');
        $this->identityRoutePart->setUriPattern('SomeUriPattern');
        $this->assertFalse($this->identityRoutePart->_call('matchValue', 'TheRoutePath'));
    }
IdentityRoutePartTest