eZ\Bundle\EzPublishRestBundle\Tests\RequestParser\RouterTest::testParseNoMatch PHP Method

testParseNoMatch() public method

public testParseNoMatch ( )
    public function testParseNoMatch()
    {
        $uri = self::$routePrefix . '/nomatch';
        $this->getRouterMock()->expects($this->once())->method('matchRequest')->with($this->attributeEqualTo('pathInfo', $uri))->will($this->throwException(new ResourceNotFoundException()));
        $this->getRequestParser()->parse($uri);
    }