assertEquals("some", deserializedInnerInnerMap.get("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 ResponseMessage response = convert(map);
assertCommon(response);
final Map<String, Integer> deserializedMap = (Map<String, Integer>) response.getResult().getData();