| 1 | <?php |
||
| 21 | final class NotificationContext implements Context |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var NotificationCheckerInterface |
||
| 25 | */ |
||
| 26 | private $notificationChecker; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param NotificationCheckerInterface $notificationChecker |
||
| 30 | */ |
||
| 31 | public function __construct(NotificationCheckerInterface $notificationChecker) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @Then I should be notified that it has been successfully created |
||
| 38 | */ |
||
| 39 | public function iShouldBeNotifiedItHasBeenSuccessfullyCreated() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @Then I should be notified that it has been successfully edited |
||
| 46 | */ |
||
| 47 | public function iShouldBeNotifiedThatItHasBeenSuccessfullyEdited() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @Then I should be notified that it has been successfully deleted |
||
| 54 | */ |
||
| 55 | public function iShouldBeNotifiedThatItHasBeenSuccessfullyDeleted() |
||
| 59 | } |
||
| 60 |