eZ\Publish\Core\REST\Common\Tests\UrlHandler\PatternTest::testPatternDoesNotMatch PHP Method

testPatternDoesNotMatch() public method

Tests parsing when pattern does not match.
    public function testPatternDoesNotMatch()
    {
        $urlHandler = new Common\RequestParser\Pattern(array('pattern' => '/foo/{foo}'));
        $urlHandler->parse('/bar');
    }