### Question:
TraverseGraphByObjectsRequest implements ValidatingRequest { public String getQuery() { return query; }  TraverseGraphByObjectsRequest setObjects(Set<String> objects); TraverseGraphByObjectsRequest addObject(String object); Set<String> getObjects(); String getQuery(); TraverseGraphByObjectsRequest setQuery(String query); Boolean getIncludeRetracted(); TraverseGraphByObjectsRequest setIncludeRetracted(Boolean includeRetracted); Long getBefore(); TraverseGraphByObjectsRequest setBefore(Long before); Long getAfter(); TraverseGraphByObjectsRequest setAfter(Long after); Integer getLimit(); TraverseGraphByObjectsRequest setLimit(Integer limit); static TraverseGraphByObjectsRequest from(TraverseGraphRequest request, String object);  }### Answer:
@Test public void testDecodeRequest() throws Exception { String json = "{" + "objects : []," + "query : 'g.out()'" + "}"; TraverseGraphByObjectsRequest request = getMapper().readValue(json, TraverseGraphByObjectsRequest.class); assertEquals("g.out()", request.getQuery()); }