@Test public void testRequestPasswordResetAsync() throws Exception { ParseHttpClient restClient = ParseTestUtils.mockParseHttpClientWithResponse(new JSONObject(), 200, "OK"); NetworkUserController controller = new NetworkUserController(restClient, true); ParseTaskUtils.wait(controller.requestPasswordResetAsync("sessionToken")); }
@Override public Task<Void> requestPasswordResetAsync(String email) { ParseRESTCommand command = ParseRESTUserCommand.resetPasswordResetCommand(email); return command.executeAsync(client).makeVoid(); }
NetworkUserController implements ParseUserController { @Override public Task<Void> requestPasswordResetAsync(String email) { ParseRESTCommand command = ParseRESTUserCommand.resetPasswordResetCommand(email); return command.executeAsync(client).makeVoid(); } }
NetworkUserController implements ParseUserController { @Override public Task<Void> requestPasswordResetAsync(String email) { ParseRESTCommand command = ParseRESTUserCommand.resetPasswordResetCommand(email); return command.executeAsync(client).makeVoid(); } NetworkUserController(ParseHttpClient client);  NetworkUserController(ParseHttpClient client, boolean revocableSession); }
NetworkUserController implements ParseUserController { @Override public Task<Void> requestPasswordResetAsync(String email) { ParseRESTCommand command = ParseRESTUserCommand.resetPasswordResetCommand(email); return command.executeAsync(client).makeVoid(); } NetworkUserController(ParseHttpClient client);  NetworkUserController(ParseHttpClient client, boolean revocableSession); @Override Task<ParseUser.State> signUpAsync(
            final ParseObject.State state,
            ParseOperationSet operations,
            String sessionToken); @Override Task<ParseUser.State> logInAsync(
            String username, String password); @Override Task<ParseUser.State> logInAsync(
            ParseUser.State state, ParseOperationSet operations); @Override Task<ParseUser.State> logInAsync(
            final String authType, final Map<String, String> authData); @Override Task<ParseUser.State> getUserAsync(String sessionToken); @Override Task<Void> requestPasswordResetAsync(String email); }
NetworkUserController implements ParseUserController { @Override public Task<Void> requestPasswordResetAsync(String email) { ParseRESTCommand command = ParseRESTUserCommand.resetPasswordResetCommand(email); return command.executeAsync(client).makeVoid(); } NetworkUserController(ParseHttpClient client);  NetworkUserController(ParseHttpClient client, boolean revocableSession); @Override Task<ParseUser.State> signUpAsync(
            final ParseObject.State state,
            ParseOperationSet operations,
            String sessionToken); @Override Task<ParseUser.State> logInAsync(
            String username, String password); @Override Task<ParseUser.State> logInAsync(
            ParseUser.State state, ParseOperationSet operations); @Override Task<ParseUser.State> logInAsync(
            final String authType, final Map<String, String> authData); @Override Task<ParseUser.State> getUserAsync(String sessionToken); @Override Task<Void> requestPasswordResetAsync(String email);  }