public function testMessageEmbed()
 {
     $this->assertInstanceOf('\\nickcv\\mandrill\\Message', $this->_message->embed($this->getTestImagePath()));
     $this->assertInstanceOf('\\nickcv\\mandrill\\Message', $this->_message->embed($this->getTestImagePath(), ['fileName' => 'test2.png', 'contentType' => 'image/jpeg']));
     $this->assertInstanceOf('\\nickcv\\mandrill\\Message', $this->_message->embed(__DIR__ . DIRECTORY_SEPARATOR . 'asdf.png'));
     $this->assertInstanceOf('\\nickcv\\mandrill\\Message', $this->_message->embed(__DIR__));
     $this->assertInstanceOf('\\nickcv\\mandrill\\Message', $this->_message->embed($this->getTestPdfPath()));
     $this->assertInstanceOf('\\nickcv\\mandrill\\Message', $this->_message->embedContent('ancora un po'));
     $this->assertInstanceOf('\\nickcv\\mandrill\\Message', $this->_message->embedContent($this->getTestImageBinary()));
     $this->assertInstanceOf('\\nickcv\\mandrill\\Message', $this->_message->embedContent($this->getTestImageBinary(), ['fileName' => '12.txt', 'contentType' => 'text/html']));
     $attachments = $this->_message->getEmbeddedContent();
     $this->assertCount(4, $attachments);
     $this->assertEquals($this->getTestImageBinary(true), $attachments[0]['content']);
     $this->assertEquals('test.png', $attachments[0]['name']);
     $this->assertEquals('image/png', $attachments[0]['type']);
     $this->assertEquals($this->getTestImageBinary(true), $attachments[1]['content']);
     $this->assertEquals('test2.png', $attachments[1]['name']);
     $this->assertEquals('image/jpeg', $attachments[1]['type']);
     $this->assertEquals($this->getTestImageBinary(true), $attachments[2]['content']);
     $this->assertEquals('file_2', $attachments[2]['name']);
     $this->assertEquals('image/png', $attachments[2]['type']);
     $this->assertEquals($this->getTestImageBinary(true), $attachments[3]['content']);
     $this->assertEquals('12.txt', $attachments[3]['name']);
     $this->assertEquals('text/html', $attachments[3]['type']);
 }