test_class.file: beanmother-core/src/test/java/io/beanmother/core/loader/FixtureTemplateWrapperTest.java
test_class.identifier: FixtureTemplateWrapperTest
test_case.body: @Test
      public void testConvertObject() {
          FixtureMap parent = new FixtureMap();
  
          Date date = new Date();
          FixtureValue value = FixtureTemplateWrapper.wrap(date, "test", parent);
  
          assertEquals(date, value.getValue());
          assertEquals("test", value.getFixtureName());
          assertEquals(parent, value.getParent());
  
          String string = "string";
  
          FixtureValue value2 = FixtureTemplateWrapper.wrap(string, "test", parent);
          assertEquals("string", value2.getValue());
          assertEquals("test", value2.getFixtureName());
          assertEquals(parent, value2.getParent());
      }
test_case.class_method_signature: FixtureTemplateWrapperTest.testConvertObject()
test_case.full_signature: @Test public void testConvertObject()
test_case.identifier: testConvertObject
test_case.invocations: wrap assertEquals getValue assertEquals getFixtureName assertEquals getParent wrap assertEquals getValue assertEquals getFixtureName assertEquals getParent
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testConvertObject()
focal_class.file: beanmother-core/src/main/java/io/beanmother/core/loader/FixtureTemplateWrapper.java
focal_class.identifier: FixtureTemplateWrapper
focal_class.class_method_signature: FixtureTemplateWrapper.wrap(Map<String, ? extends Object> source, String fixtureName, FixtureTemplate parent)
focal_class.full_signature: @SuppressWarnings("unchecked") public static FixtureMap wrap(Map<String, ? extends Object> source, String fixtureName, FixtureTemplate parent)
focal_class.identifier: wrap
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Map<String, ? extends Object> source, String fixtureName, FixtureTemplate parent)
focal_class.return: FixtureMap
focal_class.signature: FixtureMap wrap(Map<String, ? extends Object> source, String fixtureName, FixtureTemplate parent)
focal_class.class_method_signature: FixtureTemplateWrapper.wrap(List<? extends Object> source, String fixtureName, FixtureTemplate parent)
focal_class.full_signature: @SuppressWarnings("unchecked") public static FixtureList wrap(List<? extends Object> source, String fixtureName, FixtureTemplate parent)
focal_class.identifier: wrap
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (List<? extends Object> source, String fixtureName, FixtureTemplate parent)
focal_class.return: FixtureList
focal_class.signature: FixtureList wrap(List<? extends Object> source, String fixtureName, FixtureTemplate parent)
focal_class.class_method_signature: FixtureTemplateWrapper.wrap(Object source, String fixtureName, FixtureTemplate parent)
focal_class.full_signature: public static FixtureValue wrap(Object source, String fixtureName, FixtureTemplate parent)
focal_class.identifier: wrap
focal_class.modifiers: public static
focal_class.parameters: (Object source, String fixtureName, FixtureTemplate parent)
focal_class.return: FixtureValue
focal_class.signature: FixtureValue wrap(Object source, String fixtureName, FixtureTemplate parent)
focal_method.body: @SuppressWarnings("unchecked")
      public static FixtureMap wrap(Map<String, ? extends Object> source, String fixtureName, FixtureTemplate parent) {
          FixtureMap fixtureMap = new FixtureMap();
          fixtureMap.setFixtureName(fixtureName);
          fixtureMap.setParent(parent);
  
          for (Map.Entry<String, ? extends Object> entry : source.entrySet()) {
              String key = entry.getKey();
              if (entry.getValue() instanceof Map) {
                  fixtureMap.put(entry.getKey(), wrap((Map) entry.getValue(), key, fixtureMap));
              } else if (entry.getValue() instanceof List) {
                  fixtureMap.put(entry.getKey(), wrap((List) entry.getValue(), key, fixtureMap));
              } else {
                  FixtureValue wrapped = wrap(entry.getValue(), entry.getKey(), fixtureMap);
                  fixtureMap.put(entry.getKey(), wrapped);
              }
          }
  
          return fixtureMap;
      }
focal_method.class_method_signature: FixtureTemplateWrapper.wrap(Map<String, ? extends Object> source, String fixtureName, FixtureTemplate parent)
focal_method.full_signature: @SuppressWarnings("unchecked") public static FixtureMap wrap(Map<String, ? extends Object> source, String fixtureName, FixtureTemplate parent)
focal_method.identifier: wrap
focal_method.invocations: setFixtureName setParent entrySet getKey getValue put getKey wrap getValue getValue put getKey wrap getValue wrap getValue getKey put getKey
focal_method.modifiers: @SuppressWarnings("unchecked") public static
focal_method.parameters: (Map<String, ? extends Object> source, String fixtureName, FixtureTemplate parent)
focal_method.return: FixtureMap
focal_method.signature: FixtureMap wrap(Map<String, ? extends Object> source, String fixtureName, FixtureTemplate parent)