### Question:
AddMissingImportPrefixInDTTransformer extends SimpleDMNTransformer<TestCases> { private void addMissingPrefix(TLiteralExpression exp, Set<String> names) { if (exp != null) { String newText = addMissingPrefix(exp.getText(), names); exp.setText(newText); } } AddMissingImportPrefixInDTTransformer();  AddMissingImportPrefixInDTTransformer(BuildLogger logger); @Override DMNModelRepository transform(DMNModelRepository repository); @Override Pair<DMNModelRepository, List<TestCases>> transform(DMNModelRepository repository, List<TestCases> testCases);  }### Answer:
@Test public void testAddMissingPrefix() { List<Pair<String, String>> testCases = Arrays.asList( new Pair<>(null, null), new Pair<>("", ""), new Pair<>("\"ident1\"", "\"ident1\""), new Pair<>("ident1+ident2", "ident1.ident1 + ident2.ident2"), new Pair<>("> ident1+ident2", "> ident1.ident1 + ident2.ident2"), new Pair<>("starts with(?, ident1)", "starts with ( ? , ident1.ident1 )"), new Pair<>("ident1(?, ident1)", "ident1 ( ? , ident1.ident1 )"), new Pair<>("ident1.ident1+4", "ident1.ident1 . ident1 + 4") ); for (Pair<String, String> pair: testCases) { String text = pair.getLeft(); String newText = transformer.addMissingPrefix(text, names); assertEquals(pair.getRight(), newText); } }