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