@Test public void shouldCreateJsonInputField() throws JSONException { String value = "VALUE"; JsonValue jsonObject = abstractRestAuthCallbackHandler.createInputField(0, value); assertEquals(jsonObject.get("name").asString(), "IDToken0"); assertEquals(jsonObject.get("value").asString(), "VALUE"); }
final JsonValue createInputField(int index, Object value) { return createJsonField("IDToken" + index, value); }
AbstractRestAuthCallbackHandler implements RestAuthCallbackHandler<T> { final JsonValue createInputField(int index, Object value) { return createJsonField("IDToken" + index, value); } }
AbstractRestAuthCallbackHandler implements RestAuthCallbackHandler<T> { final JsonValue createInputField(int index, Object value) { return createJsonField("IDToken" + index, value); }  }
AbstractRestAuthCallbackHandler implements RestAuthCallbackHandler<T> { final JsonValue createInputField(int index, Object value) { return createJsonField("IDToken" + index, value); }  boolean updateCallbackFromRequest(HttpHeaders headers, HttpServletRequest request,
            HttpServletResponse response, T callback); }
AbstractRestAuthCallbackHandler implements RestAuthCallbackHandler<T> { final JsonValue createInputField(int index, Object value) { return createJsonField("IDToken" + index, value); }  boolean updateCallbackFromRequest(HttpHeaders headers, HttpServletRequest request,
            HttpServletResponse response, T callback);  }