/**
* @internal
*
* @covers \Shopware\Storefront\Page\Checkout\Finish\CheckoutFinishPageLoader
*/
class CheckoutFinishPageLoaderTest extends TestCase
{ public function testRobotsMetaNotSetIfGiven(): void
{ $orderId = Uuid::
randomHex();
$page =
new CheckoutFinishPage();
$pageLoader =
$this->
createMock(GenericPageLoader::
class);
$pageLoader->
method('load'
) ->
willReturn($page);
$checkoutFinishPageLoader =
new CheckoutFinishPageLoader( $this->
createMock(EventDispatcher::
class),
$pageLoader,
$this->
getOrderRouteWithValidOrder($orderId),
);