assertEquals("some", object3.getString("y"));
}
@Test
public void serializeToJsonMapWithElementForKey() throws Exception {
final TinkerGraph g = TinkerFactory.createClassic();
final Map<Vertex, Integer> map = new HashMap<>();
map.put(g.V().<Vertex>has("name", Compare.eq, "marko").next(), 1000);
final String results = SERIALIZER.serializeResponseAsString(ResponseMessage.build(msg).result(map).create());
final JSONObject json = new JSONObject(results);
assertNotNull(json);