/**
  * test search of snom location
  *
  */
 public function testSearchSnomLocation()
 {
     // create
     $snomLocation = $this->_getSnomLocation();
     $snomLocationData = $this->_json->saveSnomLocation($snomLocation->toArray());
     // search & check
     $search = $this->_json->searchSnomLocations($this->_getSnomLocationFilter($snomLocation->name), $this->_getPaging());
     $this->assertEquals($snomLocation->name, $search['results'][0]['name']);
     $this->assertEquals(1, $search['totalcount']);
 }