| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class AzineNotifierServiceMock extends AzineNotifierService |
||
| 13 | { |
||
| 14 | private $fail = false; |
||
| 15 | |||
| 16 | const FAILED_ADDRESS = '[email protected]'; |
||
| 17 | const EMAIL_COUNT = 10; |
||
| 18 | |||
| 19 | 6 | public function __construct($fail = false) |
|
| 20 | { |
||
| 21 | 6 | $this->fail = $fail; |
|
| 22 | 6 | } |
|
| 23 | |||
| 24 | 2 | public function sendNotifications(array &$failedAddresses) |
|
| 33 | } |
||
| 34 | |||
| 35 | 2 | public function sendNewsletter(array &$failedAddresses) |
|
| 44 | } |
||
| 45 | } |
||
| 46 |