@Test
public void testConvertMap() {

    Map<String, Object> map = new LinkedHashMap<>();
    String value1 = "string";
    Date value2 = new Date();
    map.put("value1", value1);
    map.put("value2", value2);
    FixtureMap fixtureMap = FixtureTemplateWrapper.wrap(map, "test", null);
    assertEquals("test", fixtureMap.getFixtureName());
    assertNull(fixtureMap.getParent());
    assertTrue(fixtureMap.get("value1") instanceof FixtureValue);
    assertTrue(fixtureMap.get("value2") instanceof FixtureValue);
    FixtureValue fixtureValue1 = (FixtureValue) fixtureMap.get("value1");
    FixtureValue fixtureValue2 = (FixtureValue) fixtureMap.get("value2");
    assertEquals(value1, fixtureValue1.getValue());
    assertEquals(value2, fixtureValue2.getValue());
    assertEquals("value1", fixtureValue1.getFixtureName());
    assertEquals("value2", fixtureValue2.getFixtureName());
}