| 1 | <?php |
||
| 11 | class ResourceAttachmentParserTest extends TestCase |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var ResourceAttachmentParser |
||
| 15 | */ |
||
| 16 | private $parser; |
||
| 17 | |||
| 18 | public function setUp() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @test |
||
| 25 | */ |
||
| 26 | public function exceptionIsThrownIfAttachmentHasInvalidType() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string|null $attachmentName |
||
| 35 | * @test |
||
| 36 | * @dataProvider provideAttachmentNames |
||
| 37 | */ |
||
| 38 | public function providedAttachmentIsParsedIntoPart(string $attachmentName = null) |
||
| 49 | |||
| 50 | public function provideAttachmentNames(): array |
||
| 57 | } |
||
| 58 |