@Test
public void testDecodeRequest() throws Exception {

  String json = "{" +
          "objects : []," +
          "query : 'g.out()'" +
          "}";
  TraverseGraphByObjectsRequest request = getMapper().readValue(json, TraverseGraphByObjectsRequest.class);
  assertEquals("g.out()", request.getQuery());
}