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

testGenerateSuperfluousValue() public method

Test generating URL with extra value.
    public function testGenerateSuperfluousValue()
    {
        $urlHandler = new Common\RequestParser\Pattern(array('pattern' => '/foo/{foo}'));
        $urlHandler->generate('pattern', array('foo' => 23, 'bar' => 42));
    }