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