1 | <?php |
||
12 | class FilePathAttachmentParserTest extends TestCase |
||
13 | { |
||
14 | /** |
||
15 | * @var FilePathAttachmentParser |
||
16 | */ |
||
17 | private $parser; |
||
18 | /** |
||
19 | * @var ObjectProphecy |
||
20 | */ |
||
21 | private $finfo; |
||
22 | |||
23 | public function setUp() |
||
28 | |||
29 | /** |
||
30 | * @test |
||
31 | */ |
||
32 | public function exceptionIsThrownIfAttachmentHasInvalidType() |
||
38 | |||
39 | /** |
||
40 | * @param string|null $attachmentName |
||
41 | * @test |
||
42 | * @dataProvider provideAttachmentNames |
||
43 | */ |
||
44 | public function providedAttachmentIsParsedIntoPart(string $attachmentName = null) |
||
59 | |||
60 | public function provideAttachmentNames(): array |
||
67 | } |
||
68 |