public void shouldReturnWrappedPropertyToString() {
final StrategyWrappedGraph swg = new StrategyWrappedGraph(g);
final Vertex v1 = swg.addVertex(T.label, "Person");
final Vertex v2 = swg.addVertex(T.label, "Person");
final Edge e1 = v1.addEdge("friend", v2, "weight", "fifty");
final Property weight = e1.property("weight");
final Edge originalEdge = ((StrategyWrappedEdge) e1).getBaseEdge();
final Property originalProperty = originalEdge.property("weight");
swg.getStrategy().setGraphStrategy(strategy);
assertEquals(StringFactory.graphStrategyPropertyString(strategy, originalProperty), weight.toString());
}