assertEquals(e.id(), deserializedEdge.get(GraphSONTokens.ID));
assertEquals(v1.id(), deserializedEdge.get(GraphSONTokens.OUT));
assertEquals(v2.id(), deserializedEdge.get(GraphSONTokens.IN));
assertEquals(v1.label(), deserializedEdge.get(GraphSONTokens.OUT_LABEL));
assertEquals(v2.label(), deserializedEdge.get(GraphSONTokens.IN_LABEL));
assertEquals(e.label(), deserializedEdge.get(GraphSONTokens.LABEL));
assertEquals(GraphSONTokens.EDGE, deserializedEdge.get(GraphSONTokens.TYPE));
final Map<String, Object> properties = (Map<String, Object>) deserializedEdge.get(GraphSONTokens.PROPERTIES);
assertNotNull(properties);
assertEquals(123, properties.get("abc"));