function it_checks_if_there_was_no_redirect_to_index_after_unsuccessful_deletion_of_a_shipping_method(ShowPageInterface $shippingMethodShowPage, IndexPageInterface $shippingMethodIndexPage, ShippingMethodInterface $shippingMethod)
 {
     $shippingMethod->getName()->willReturn('UPS Express');
     $shippingMethod->getId()->willReturn(5);
     $shippingMethodShowPage->isOpen(['id' => 5])->willReturn(false);
     $shippingMethodIndexPage->isThereShippingMethodNamed('UPS Express')->willReturn(true);
     $this->shouldThrow(NotEqualException::class)->during('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);
 }