/**
  * Method to test sendAttachment().
  *
  * @return void
  *
  * @covers \Windwalker\Http\Helper\StreamHelper::sendAttachment
  */
 public function testSendAttachment()
 {
     StreamHelper::$outputObject = new StubStreamOutput();
     StreamHelper::sendAttachment(__FILE__, $response = new Response());
     $this->assertEquals(file_get_contents(__FILE__), StreamHelper::$outputObject->output);
     $this->assertEquals(array('application/octet-stream'), StreamHelper::$outputObject->message->getHeader('content-type'));
 }