@Test
public void test11searchServices() throws Exception {

	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
	List<RangerService> servicesList = new ArrayList<RangerService>();
	RangerService service = rangerService();
	servicesList.add(service);
	RangerServiceList serviceList = new RangerServiceList(servicesList);
	Mockito.when(serviceREST.getServices(request)).thenReturn(serviceList);
	List<RangerService> dbRangerServiceList = publicAPIsv2.searchServices(request);
	Assert.assertNotNull(dbRangerServiceList);
	Assert.assertEquals(dbRangerServiceList.size(), servicesList.size());
	Mockito.verify(serviceREST).getServices(request);
}