eZ\Publish\Core\MVC\Symfony\Routing\Tests\RouteReferenceTest::testConstruct PHP Method

testConstruct() public method

public testConstruct ( )
    public function testConstruct()
    {
        $route = 'my_route';
        $params = array('foo' => 'bar', 'some' => 'thing');
        $reference = new RouteReference($route, $params);
        $this->assertSame($route, $reference->getRoute());
        $this->assertSame($params, $reference->getParams());
    }