@Test
public void findAppTest() {

    Mockito.when(this.appRepository.findOne(Mockito.any(Long.class))).thenReturn(app);
    Mockito.when(accessTokenRepository.findByAppId(app.getId())).thenReturn(Mockito.anyList());
    App appResp = appService.find(1L);
    assertEquals(appResp.getId(), app.getId());
    Mockito.verify(this.appRepository, Mockito.times(1)).findOne(Mockito.any(Long.class));
}