Neos\Flow\Tests\Unit\Mvc\Routing\UriBuilderTest::uriForDoesNotUseSubpackageKeyFromRequestIfOnlyThePackageIsSet PHP Method

uriForDoesNotUseSubpackageKeyFromRequestIfOnlyThePackageIsSet() public method

    public function uriForDoesNotUseSubpackageKeyFromRequestIfOnlyThePackageIsSet()
    {
        $expectedArguments = ['@action' => 'index', '@controller' => 'somecontroller', '@package' => 'somepackage'];
        $this->uriBuilder->uriFor('index', [], 'SomeController', 'SomePackage');
        $this->assertEquals($expectedArguments, $this->uriBuilder->getLastArguments());
    }
UriBuilderTest