@Test
public void notPermitUpdateAnAccessTokenInexistent() {

     thrown.expect(NotFoundException.class);
     thrown.expectMessage("Resource not found");
     
     AccessTokenPersist accessTokenPersist = new AccessTokenPersist();
     
     Mockito.when(accessTokenRepository.findOne(Mockito.anyLong())).thenReturn(null);
     
     service.update(10L, accessTokenPersist);
}