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 be successfully removed
  */
 public function shippingMethodShouldBeRemoved(ShippingMethodInterface $shippingMethod)
 {
     expect($this->shippingMethodIndexPage->isOpen())->toBe(true);
     expect($this->shippingMethodIndexPage->isThereShippingMethodNamed($shippingMethod->getName()))->toBe(false);
 }