function it_throws_exception_if_there_was_no_redirect_to_index_after_successful_deletion_of_a_shipping_method(IndexPageInterface $shippingMethodIndexPage, ShippingMethodInterface $shippingMethod)
 {
     $shippingMethod->getName()->willReturn('UPS Express');
     $shippingMethodIndexPage->isOpen()->willReturn(false);
     $shippingMethodIndexPage->isThereShippingMethodNamed('UPS Express')->willReturn(false);
     $this->shouldThrow(NotEqualException::class)->during('shippingMethodShouldBeRemoved', [$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);
 }