/**
* @internal
*
* @covers \Shopware\Storefront\Framework\Seo\SeoUrlRoute\NavigationPageSeoUrlRoute
*/
#[Package('buyers-experience')]
class NavigationPageSeoUrlRouteTest extends TestCase
{ public function testPrepareCriteria(): void
{ $navigationPageSeoUrlRoute =
new NavigationPageSeoUrlRoute( new CategoryDefinition(),
static::
createStub(CategoryBreadcrumbBuilder::
class) );
$salesChannel =
new SalesChannelEntity();
$criteria =
new Criteria();
$navigationPageSeoUrlRoute->
prepareCriteria($criteria,
$salesChannel);
$filters =
$criteria->
getFilters();
static::
assertCount(2,
$filters);