function it_checks_whether_a_shipping_method_was_not_removed(ShowPageInterface $shippingMethodShowPage, ShippingMethodInterface $shippingMethod)
 {
     $shippingMethod->getName()->willReturn('UPS Express');
     $shippingMethod->getId()->willReturn(5);
     $shippingMethodShowPage->isOpen(['id' => 5])->willReturn(true);
     $shippingMethodShowPage->verify(['id' => 5])->willNotThrow(UnexpectedPageException::class);
     $this->shippingMethodShouldNotBeRemoved($shippingMethod);
 }
 /**
  * @Then :it should not be removed
  */
 public function shippingMethodShouldNotBeRemoved(ShippingMethodInterface $shippingMethod)
 {
     expect($this->shippingMethodShowPage->isOpen(['id' => $shippingMethod->getId()]))->toBe(true);
     expect($this->shippingMethodShowPage->verify(['id' => $shippingMethod->getId()]))->toNotThrow(UnexpectedPageException::class);
 }