| 1 | <?php |
||
| 8 | class NotificationIsSentSpecification extends Specification |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var bool |
||
| 12 | */ |
||
| 13 | private $expectsToBeSent; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param bool $expectsToBeSent |
||
| 17 | */ |
||
| 18 | 2 | public function __construct(bool $expectsToBeSent = true) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @param Notification $notification |
||
| 25 | * @return bool |
||
| 26 | */ |
||
| 27 | public function isSatisfiedBy($notification): bool |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | 2 | public function whereExpression(string $alias): string |
|
| 44 | } |
||
| 45 |