public function testDownload()
 {
     $response = $this->logSettingsController->download();
     $this->assertInstanceOf('\\OCP\\AppFramework\\Http\\StreamResponse', $response);
     $headers = $response->getHeaders();
     $this->assertEquals('application/octet-stream', $headers['Content-Type']);
     $this->assertEquals('attachment; filename="owncloud.log"', $headers['Content-Disposition']);
 }
 public function testDownload()
 {
     $response = $this->logSettingsController->download();
     $this->assertInstanceOf('\\OCP\\AppFramework\\Http\\StreamResponse', $response);
 }