### Question:
RestAuthRedirectCallbackHandler extends AbstractRestAuthCallbackHandler<RedirectCallback> { public RedirectCallback handle(HttpServletRequest request, HttpServletResponse response, JsonValue postBody, RedirectCallback originalCallback) { return originalCallback; }  RedirectCallback handle(HttpServletRequest request, HttpServletResponse response,
            JsonValue postBody, RedirectCallback originalCallback); String getCallbackClassName(); JsonValue convertToJson(RedirectCallback callback, int index); RedirectCallback convertFromJson(RedirectCallback callback, JsonValue jsonCallback);  }### Answer:
@Test public void shouldHandleCallback() { HttpServletRequest request = mock(HttpServletRequest.class); HttpServletResponse response = mock(HttpServletResponse.class); JsonValue jsonPostBody = mock(JsonValue.class); RedirectCallback originalRedirectCallback = mock(RedirectCallback.class); RedirectCallback redirectCallback = restAuthRedirectCallbackHandler.handle(request, response, jsonPostBody, originalRedirectCallback); Assert.assertEquals(originalRedirectCallback, redirectCallback); }