1 | <?php |
||
17 | class TwigFileRepositoryTest extends TestCase |
||
18 | { |
||
19 | /** |
||
20 | * Test get subject |
||
21 | * |
||
22 | * @throws \ReflectionException |
||
23 | * @throws \SfCod\EmailEngineBundle\Exception\RepositoryUnavailableException |
||
24 | * @throws \Throwable |
||
25 | */ |
||
26 | public function testSubject() |
||
38 | |||
39 | /** |
||
40 | * Test get body |
||
41 | * |
||
42 | * @throws \ReflectionException |
||
43 | * @throws \SfCod\EmailEngineBundle\Exception\RepositoryUnavailableException |
||
44 | * @throws \Throwable |
||
45 | */ |
||
46 | public function testBody() |
||
58 | |||
59 | /** |
||
60 | * Test sender name |
||
61 | * |
||
62 | * @throws \ReflectionException |
||
63 | * @throws \SfCod\EmailEngineBundle\Exception\RepositoryUnavailableException |
||
64 | * @throws \Throwable |
||
65 | */ |
||
66 | public function testSenderName() |
||
78 | |||
79 | /** |
||
80 | * Test sender email |
||
81 | * |
||
82 | * @throws \ReflectionException |
||
83 | * @throws \SfCod\EmailEngineBundle\Exception\RepositoryUnavailableException |
||
84 | * @throws \Throwable |
||
85 | */ |
||
86 | public function testSenderEmail() |
||
94 | |||
95 | /** |
||
96 | * Mock repository |
||
97 | * |
||
98 | * @return TwigFileRepository |
||
99 | * |
||
100 | * @throws \ReflectionException |
||
101 | * @throws \SfCod\EmailEngineBundle\Exception\RepositoryUnavailableException |
||
102 | */ |
||
103 | private function mockRepository(): TwigFileRepository |
||
117 | } |
||
118 |