@Test
public void testSimpleTraversal() {

    final List<String> allKeys = new ArrayList<>();
    allKeys.add("edge1");
    allKeys.add("edge2");
    allKeys.add("edge5");
    allKeys.add("edge6");
    allKeys.add("list");
    Map<String, Object> map = new HashMap<>();
    map.put("list", allKeys);
    FixtureMap fixture = FixtureTemplateWrapper.wrap(map, null, null);
    FixtureMapTraversal.traverse(fixture, new FixtureMapTraversal.Processor() {
        @Override
        public void visit(FixtureValue edge) {
            allKeys.remove(edge.getValue());
        }
    });
    assertTrue(allKeys.isEmpty());
}