@Test
    public void doTest() {
        final String repr = original.getGremlinLang().getGremlin();
        applyAdjacentToIncidentStrategy(original);
        assertEquals(repr, optimized, original);
    }
@author Daniel Kuppitz (http://gremlin.guru)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/AdjacentToIncidentStrategyTest.java