public function test()
{
$path = DIR_FILES . '/mail/logo.gif';
$name = 'logo.gif';
$cid = 'logo.gif';
$mimeType = 'image/gif';
$attachment = new InlineFileAttachment($path, $name, $cid, $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_INLINE, $attachment->getDisposition());
$this->assertTrue($attachment->isInline());
$this->assertEquals($cid, $attachment->getCid());
$this->assertEquals('', $attachment->getEncoding());
}