| 1 | <?php |
||
| 11 | class MimePartAttachmentParserTest extends TestCase |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var MimePartAttachmentParser |
||
| 15 | */ |
||
| 16 | private $parser; |
||
| 17 | |||
| 18 | public function setUp() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @test |
||
| 25 | */ |
||
| 26 | public function exceptionIsThrownIfAttachmentHasInvalidType() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string|null $attachmentName |
||
| 37 | * @test |
||
| 38 | * @dataProvider provideAttachmentNames |
||
| 39 | */ |
||
| 40 | public function providedPartIsReturned(string $attachmentName = null) |
||
| 50 | |||
| 51 | public function provideAttachmentNames(): array |
||
| 58 | } |
||
| 59 |