/** * @Then I should be notified that it has been successfully deleted */ public function iShouldBeNotifiedAboutSuccessfulDeletion() { $this->notificationChecker->checkDeletionNotification(self::RESOURCE_NAME); }
function it_checks_if_a_resource_was_successfully_deleted(NotificationCheckerInterface $notificationValidator) { $notificationValidator->checkDeletionNotification('tax_category')->shouldBeCalled(); $this->iShouldBeNotifiedAboutSuccessfulDeletion(); }