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