private void checkResult(final Object expected, final Traversal traversal) {
        final List result = traversal.toList();
        assertEquals("Did not produce exactly one result", 1, result.size());
        assertEquals(expected, result.get(0));
    }
Services may need to specify traverser requirements.
tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerGraphServiceTest.java