@@ 34-42 (lines=9) @@ | ||
31 | $this->notification = new TestNotification(); |
|
32 | } |
|
33 | ||
34 | public function testSend() |
|
35 | { |
|
36 | $recipient = $this->getTestUser(); |
|
37 | ||
38 | $this->channelManager->expects($this->once()) |
|
39 | ->method('send'); |
|
40 | ||
41 | $this->manager->send($this->notification, $recipient); |
|
42 | } |
|
43 | ||
44 | public function testSendMultiple() |
|
45 | { |
|
@@ 44-52 (lines=9) @@ | ||
41 | $this->manager->send($this->notification, $recipient); |
|
42 | } |
|
43 | ||
44 | public function testSendMultiple() |
|
45 | { |
|
46 | $recipient = $this->getTestUser(); |
|
47 | ||
48 | $this->channelManager->expects($this->any()) |
|
49 | ->method('send'); |
|
50 | ||
51 | $this->manager->send($this->notification, [$recipient, $recipient]); |
|
52 | } |
|
53 | ||
54 | public function testSendWitData() |
|
55 | { |