Exemplo n.º 1
0
 public function testToWebFormatWithAttachmentCustomFilename()
 {
     $email = new Email();
     $email->addAttachment('./gif.gif', 'different.jpg');
     $json = $email->toWebFormat();
     $this->assertEquals($json["files[different.jpg]"], "@./gif.gif");
 }