public function test()
{
$path = DIR_FILES . '/mail/logo.gif';
$name = 'logo.gif';
$mimeType = 'image/gif';
$attachment = new FileAttachment($path, $name, $mimeType);
$this->assertEquals(file_get_contents($path), $attachment->getContent());
$this->assertEquals($name, $attachment->getName());
$this->assertEquals($mimeType, $attachment->getMimeType());
$this->assertEquals(\Jyxo\Mail\Email\Attachment::DISPOSITION_ATTACHMENT, $attachment->getDisposition());
$this->assertFalse($attachment->isInline());
$this->assertEquals('', $attachment->getCid());
$this->assertEquals('', $attachment->getEncoding());
}