test_class.declarator: sampleFixture
test_class.original_string: FixtureMap sampleFixture;
test_class.type: FixtureMap
test_class.var_name: sampleFixture
test_class.file: beanmother-core/src/test/java/io/beanmother/core/common/FixtureMapTraversalTest.java
test_class.identifier: FixtureMapTraversalTest
test_case.body: @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());
      }
test_case.class_method_signature: FixtureMapTraversalTest.testSimpleTraversal()
test_case.full_signature: @Test public void testSimpleTraversal()
test_case.identifier: testSimpleTraversal
test_case.invocations: add add add add add put wrap traverse remove getValue assertTrue isEmpty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSimpleTraversal()
focal_class.file: beanmother-core/src/main/java/io/beanmother/core/common/FixtureMapTraversal.java
focal_class.identifier: FixtureMapTraversal
focal_class.class_method_signature: FixtureMapTraversal.traverse(FixtureMap fixtureMap, final Processor processor)
focal_class.full_signature: public static void traverse(FixtureMap fixtureMap, final Processor processor)
focal_class.identifier: traverse
focal_class.modifiers: public static
focal_class.parameters: (FixtureMap fixtureMap, final Processor processor)
focal_class.return: void
focal_class.signature: void traverse(FixtureMap fixtureMap, final Processor processor)
focal_class.class_method_signature: FixtureMapTraversal.traverse(FixtureList fixtureList, final Processor processor)
focal_class.full_signature: private static void traverse(FixtureList fixtureList, final Processor processor)
focal_class.identifier: traverse
focal_class.modifiers: private static
focal_class.parameters: (FixtureList fixtureList, final Processor processor)
focal_class.return: void
focal_class.signature: void traverse(FixtureList fixtureList, final Processor processor)
focal_class.class_method_signature: FixtureMapTraversal.handleSubType(FixtureTemplate fixtureTemplate, final Processor processor)
focal_class.full_signature: private static void handleSubType(FixtureTemplate fixtureTemplate, final Processor processor)
focal_class.identifier: handleSubType
focal_class.modifiers: private static
focal_class.parameters: (FixtureTemplate fixtureTemplate, final Processor processor)
focal_class.return: void
focal_class.signature: void handleSubType(FixtureTemplate fixtureTemplate, final Processor processor)
focal_method.body: public static void traverse(FixtureMap fixtureMap, final Processor processor) {
          for (Map.Entry<String, FixtureTemplate> entry : fixtureMap.entrySet()) {
              handleSubType(entry.getValue(), processor);
          }
      }
focal_method.class_method_signature: FixtureMapTraversal.traverse(FixtureMap fixtureMap, final Processor processor)
focal_method.full_signature: public static void traverse(FixtureMap fixtureMap, final Processor processor)
focal_method.identifier: traverse
focal_method.invocations: entrySet handleSubType getValue
focal_method.modifiers: public static
focal_method.parameters: (FixtureMap fixtureMap, final Processor processor)
focal_method.return: void
focal_method.signature: void traverse(FixtureMap fixtureMap, final Processor processor)