@Test public void getAllAssetGroupApisTest() throws Exception { when(repository.getDataFromPacman(anyString())).thenReturn(CommonTestUtil.getListMapObject()); ReflectionTestUtils.setField(downloadFileService, "assetGroupQuery", "dummyEsURL"); assertThat(downloadFileService.getAllAssetGroupApis(), is(notNullValue())); }
public List<Map<String, Object>> getAllAssetGroupApis() { return repository.getDataFromPacman(assetGroupQuery); }
DownloadFileService implements Constants { public List<Map<String, Object>> getAllAssetGroupApis() { return repository.getDataFromPacman(assetGroupQuery); } }
DownloadFileService implements Constants { public List<Map<String, Object>> getAllAssetGroupApis() { return repository.getDataFromPacman(assetGroupQuery); }  }
DownloadFileService implements Constants { public List<Map<String, Object>> getAllAssetGroupApis() { return repository.getDataFromPacman(assetGroupQuery); }  List<Map<String, Object>> getAllAssetGroupApis(); void downloadData(final HttpServletResponse servletResponse, final JsonArray response,
            final String fileFormat, String methodType); }
DownloadFileService implements Constants { public List<Map<String, Object>> getAllAssetGroupApis() { return repository.getDataFromPacman(assetGroupQuery); }  List<Map<String, Object>> getAllAssetGroupApis(); void downloadData(final HttpServletResponse servletResponse, final JsonArray response,
            final String fileFormat, String methodType);  }