/**
  * testDeleteDownloadLinks
  */
 public function testDeleteDownloadLinks()
 {
     $downloadLink = $this->testSaveDownloadLinkFile();
     $result = $this->_json->deleteDownloadLinks(array($downloadLink['id']));
     try {
         Filemanager_Controller_DownloadLink::getInstance()->get($downloadLink['id']);
         $this->fail('link should have been deleted');
     } catch (Exception $e) {
         $this->assertTrue($e instanceof Tinebase_Exception_NotFound);
     }
 }