@Test
public void findApiTest() {

     Mockito.when(this.apiRepository.findOne(Mockito.any(Long.class))).thenReturn(api);
     Api apiResp = apiService.find(1L);
     assertEquals(apiResp.getId(), api.getId());
     Mockito.verify(this.apiRepository, Mockito.times(1)).findOne(Mockito.any(Long.class));
}