| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function sends_email_with_attachments() |
||
| 25 | { |
||
| 26 | $container = []; |
||
| 27 | $client = $this->mockAPIRequest($container); |
||
| 28 | $send = new Send($client); |
||
| 29 | |||
| 30 | $attachmentPaths = [$this->makeAttachment('attachment-content')]; |
||
| 31 | $send->handle(['generic-param' => 'param-contents'], $attachmentPaths); |
||
| 32 | |||
| 33 | $this->assertAPIRequestHasMultipartField( |
||
| 34 | ['generic-param' => 'param-contents'], |
||
| 35 | $container |
||
| 36 | ); |
||
| 43 |