/** * testSearchDownloadLinks */ public function testSearchDownloadLinks() { $downloadLink = $this->testSaveDownloadLinkFile(); $filter = array(array('field' => 'id', 'operator' => 'equals', 'value' => $downloadLink['id'])); $result = $this->_json->searchDownloadLinks($filter, array()); $this->assertEquals(1, $result['totalcount']); }