@Test
public void saveAccessTokenWithAppCallbackDTO() {

     AccessToken recoverAt = new AccessToken();
     recoverAt.setCode("123456");
     Plan plan = new Plan();
     AccessTokenDTO reqBody = new AccessTokenDTO();
     reqBody.setCode("developer@conductor.com.br");
     reqBody.setStatus(Status.ACTIVE);
     reqBody.setApp(new AppCallbackDTO());
     Mockito.when(accessTokenRepository.save(Mockito.any(AccessToken.class))).thenReturn(recoverAt);
     Mockito.when(accessTokenRepository.findByCode("123456")).thenReturn(recoverAt);
     Mockito.when(planRepository.findOne(1L)).thenReturn(plan);
     AccessToken saved = this.service.save(reqBody);
     assertEquals(recoverAt.getId(), saved.getId());
}