예제 #1
0
 /**
  * @param mixed $file
  * @dataProvider providerAttach
  * @depends testClearAttachments
  */
 public function testAttach($file)
 {
     $this->mail->clearAttachments();
     $this->mail->attach($file);
     $this->assertNotEmpty($this->mail->files);
     $this->mail->clearAttachments();
 }
예제 #2
0
 /**
  * Clears all existing attachments.
  */
 public function clearAttachments()
 {
     parent::clearAttachments();
     $this->mailer->ClearAttachments();
 }