@Test
public void deleteAnAccessToken() {

     AccessToken recoverAt = new AccessToken();
     recoverAt.setCode("123456");
     Mockito.when(accessTokenRepository.findOne(Mockito.anyLong())).thenReturn(recoverAt);
     this.service.delete(1L);
     Mockito.verify(this.accessTokenRepository, Mockito.times(1)).delete(recoverAt);
}