/**
* @Then /^(the administrator) should know about IP address of (this order made by "[^"]+")$/
*/
public function theAdministratorShouldKnowAboutIPAddressOfThisOrderMadeBy(AdminUserInterface $user, OrderInterface $order)
{
$this->sharedSecurityService->performActionAsAdminUser($user, function () use($order) {
$this->showPage->open(['id' => $order->getId()]);
Assert::notSame($this->showPage->getIpAddressAssigned(), '', 'There should be IP address assigned to order, but there is not.');
});
}