/** * test search of snom software * */ public function testSearchSnomSoftware() { // create $snomSoftware = $this->_getSnomSoftware(); $snomSoftwareData = $this->_json->saveSnomSoftware($snomSoftware->toArray()); // search & check $search = $this->_json->searchSnomSoftwares($this->_getSnomSoftwareFilter($snomSoftware->name), $this->_getPaging()); $this->assertEquals($snomSoftware->name, $search['results'][0]['name']); $this->assertEquals(1, $search['totalcount']); }