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