@Test
public void listApiWithoutPageableTest() {

     List<Api> apis = new ArrayList<>();
     apis.add(api);
     Mockito.when(this.apiRepository.findAll(Mockito.any(Example.class))).thenReturn(apis);
     List<Api> listApiResp = apiService.list(apiDTO);
     assertEquals(apis.size(), listApiResp.size());
     Mockito.verify(this.apiRepository, Mockito.times(1)).findAll(Mockito.any(Example.class));
}