setAttachments() public method

public setAttachments ( AcMailer\Options\AttachmentsOptions | array $attachments )
$attachments AcMailer\Options\AttachmentsOptions | array
 /**
  * @expectedException \AcMailer\Exception\InvalidArgumentException
  */
 public function testInvalidAttachmentsThrowException()
 {
     $this->messageOptions->setAttachments('foo');
 }