### Question:
NameMappings { public void put(String key, String value) { this.mappings.put(key, value); }  String get(String name); void put(String key, String value); List<String> keys(); List<String> values();  }### Answer:
@Test public void testDMNTransform() throws Exception { doTest(Arrays.asList("0004-lending.dmn"), "0004-lending-test-01.xml", new LinkedHashMap<String, Pair<String, String>>() {{ put("0004-lending.dmn", new Pair<>("http: put("0004-lending-test-01.xml", new Pair<>("http: }} ); doTest(Arrays.asList("0007-date-time.dmn"), "0007-date-time-test-01.xml", new LinkedHashMap<String, Pair<String, String>>() {{ put("0007-date-time.dmn", new Pair<>("http: put("0007-date-time-test-01.xml", new Pair<>("http: }} ); doTest(Arrays.asList("0034-drg-scopes.dmn") , "0034-drg-scopes-test-01.xml", new LinkedHashMap<String, Pair<String, String>>() {{ put("0034-drg-scopes.dmn", new Pair<>("http: put("0034-drg-scopes-test-01.xml", new Pair<>("http: }} ); doTest(Arrays.asList("0087-chapter-11-example.dmn") , "0087-chapter-11-example-test-01.xml", new LinkedHashMap<String, Pair<String, String>>() {{ put("0087-chapter-11-example.dmn", new Pair<>("http: put("0087-chapter-11-example-test-01.xml", new Pair<>("http: }} ); doTest(Arrays.asList("0089-nested-inputdata-imports.dmn", "0089-model-a.dmn", "0089-model-b.dmn", "0089-model-b2.dmn"), "0089-nested-inputdata-imports-test-01.xml", new LinkedHashMap<String, Pair<String, String>>() {{ put("0089-nested-inputdata-imports.dmn", new Pair<>("http: put("0089-model-a.dmn", new Pair<>("http: put("0089-model-b.dmn", new Pair<>("http: put("0089-model-b2.dmn", new Pair<>("http: put("0089-nested-inputdata-imports-test-01.xml", new Pair<>("http: }} ); }