ParseRESTUserCommand extends ParseRESTCommand { public static ParseRESTUserCommand getCurrentUserCommand(String sessionToken) { return new ParseRESTUserCommand("users/me", ParseHttpRequest.Method.GET, null, sessionToken); } 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();  }
@Test public void testGetCurrentUserCommand() { ParseRESTUserCommand command = ParseRESTUserCommand.getCurrentUserCommand("sessionToken"); assertEquals("users/me", command.httpPath); assertEquals(ParseHttpRequest.Method.GET, command.method); assertNull(command.jsonParameters); assertEquals("sessionToken", command.getSessionToken()); }