### Question:
ParseRESTUserCommand extends ParseRESTCommand { @Override protected Task<JSONObject> onResponseAsync(ParseHttpResponse response, ProgressCallback progressCallback) { statusCode = response.getStatusCode(); return super.onResponseAsync(response, progressCallback); } private  ParseRESTUserCommand(
      String httpPath,
      ParseHttpRequest.Method httpMethod,
      Map<String, ?> parameters,
      String sessionToken); private  ParseRESTUserCommand(
      String httpPath,
      ParseHttpRequest.Method httpMethod,
      Map<String, ?> parameters,
      String sessionToken, boolean isRevocableSessionEnabled); private  ParseRESTUserCommand(
      String httpPath,
      ParseHttpRequest.Method httpMethod,
      JSONObject parameters,
      String sessionToken, boolean isRevocableSessionEnabled); static ParseRESTUserCommand getCurrentUserCommand(String sessionToken); static ParseRESTUserCommand signUpUserCommand(JSONObject parameters, String sessionToken,
      boolean revocableSession); static ParseRESTUserCommand logInUserCommand(String username, String password,
      boolean revocableSession); static ParseRESTUserCommand serviceLogInUserCommand(
      String authType, Map<String, String> authData, boolean revocableSession); static ParseRESTUserCommand serviceLogInUserCommand(JSONObject parameters,
      String sessionToken, boolean revocableSession); static ParseRESTUserCommand resetPasswordResetCommand(String email); int getStatusCode();  }### Answer:
@Test public void testOnResponseAsync() throws Exception { ParseRESTUserCommand command = ParseRESTUserCommand.getCurrentUserCommand("sessionToken"); String content = "content"; String contentType = "application/json"; int statusCode = 200; ParseHttpResponse response = new ParseHttpResponse.Builder() .setContent(new ByteArrayInputStream(content.getBytes())) .setContentType(contentType) .setStatusCode(statusCode) .build(); command.onResponseAsync(response, null); assertEquals(200, command.getStatusCode()); }