Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
16 | final class EmailComposerTest extends TestCase |
||
17 | { |
||
18 | private $sender; |
||
19 | private $to; |
||
20 | private $messageOptions; |
||
21 | private $emailComposer; |
||
22 | |||
23 | protected function setUp(): void |
||
24 | { |
||
25 | $this->sender = new Address('[email protected]', 'Mr. Test'); |
||
26 | $this->to = new Address('[email protected]', 'Ms. Test'); |
||
27 | |||
28 | $this->messageOptions = new MessageOptions( |
||
29 | 'Test email', |
||
30 | null, |
||
31 | null, |
||
32 | new Participants( |
||
33 | $this->sender, |
||
34 | [$this->sender], |
||
35 | [$this->sender], |
||
36 | [$this->to], |
||
37 | [$this->to], |
||
38 | [$this->to] |
||
39 | ) |
||
40 | ); |
||
41 | |||
42 | $this->emailComposer = new EmailComposer($this->messageOptions); |
||
43 | } |
||
44 | |||
45 | public function testReturnedMessageType(): void |
||
50 | } |
||
51 | } |
||
52 |