['/fr/foo', NULL, '/fr/foo'
],
['/fr', NULL, '/fr'
],
['/user/login', NULL, '/user/login'
],
];
$alias_manager->
expects($this->
any()) ->
method('getPathByAlias'
) ->
willReturnMap($system_path_map);
// Create a stub config factory with all config settings that will be checked
// during this test.
$config_factory_stub =
$this->
getConfigFactoryStub( [ 'system.site' =>
[ 'page.front' => '/user/login',
],
'language.negotiation' =>
[ 'url' =>
[ 'prefixes' =>
['fr' => 'fr'
],
'source' => LanguageNegotiationUrl::CONFIG_PATH_PREFIX,
],
],
] );