setAttachments() public method

public setAttachments ( array $paths )
$paths array
 public function testStringBypassedBodyIsWrappedIntoMimePartWithAttachments()
 {
     $cwd = getcwd();
     chdir(dirname(__DIR__));
     $this->mailService->setAttachments(array('attachments/file1', 'attachments/file2'));
     $this->mailService->getMessage()->setBody('Btpassed body as string');
     $result = $this->mailService->send();
     $this->assertTrue($result->isValid());
     /* @var Mime\Message $body */
     $body = $this->mailService->getMessage()->getBody();
     $this->assertInstanceOf('Zend\\Mime\\Message', $body);
     chdir($cwd);
 }