### Question:
RestAuthPasswordCallbackHandler extends AbstractRestAuthCallbackHandler<PasswordCallback> { public PasswordCallback handle(HttpServletRequest request, HttpServletResponse response, JsonValue postBody, PasswordCallback originalCallback) { return originalCallback; }  PasswordCallback handle(HttpServletRequest request, HttpServletResponse response,
            JsonValue postBody, PasswordCallback originalCallback); String getCallbackClassName(); JsonValue convertToJson(PasswordCallback callback, int index); PasswordCallback convertFromJson(PasswordCallback callback, JsonValue jsonCallback);  }### Answer:
@Test public void shouldHandleCallback() { HttpServletRequest request = mock(HttpServletRequest.class); HttpServletResponse response = mock(HttpServletResponse.class); JsonValue jsonPostBody = mock(JsonValue.class); PasswordCallback originalPasswordCallback = mock(PasswordCallback.class); PasswordCallback passwordCallback = restAuthPasswordCallbackHandler.handle(request, response, jsonPostBody, originalPasswordCallback); assertEquals(originalPasswordCallback, passwordCallback); }