/** @var CheckoutFinishPageLoadedEvent $event */
$event = null;
$this->
catchEvent(CheckoutFinishPageLoadedEvent::
class,
$event);
$page =
$this->
getPageLoader()->
load($request,
$context);
static::
assertInstanceOf(CheckoutFinishPage::
class,
$page);
static::
assertSame(13.04,
$page->
getOrder()->
getPrice()->
getNetPrice());
self::
assertPageEvent(CheckoutFinishPageLoadedEvent::
class,
$event,
$context,
$request,
$page);
static::
assertTrue($eventWasThrown);
$this->
resetEventDispatcher();
} /**
* @return CheckoutFinishPageLoader
*/
protected function getPageLoader() { return $this->
getContainer()->
get(CheckoutFinishPageLoader::
class);
}}