@Test
public void ensureGetIdsFromTransformationWorks() {
Transformation tf = new Transformation("Test");
tf.setMapList(Arrays.asList("A\t" + ScriptConstants.wrapInTags(expression + ";1")));
IntegrationEntityMapLookup lookup = new IntegrationEntityMapLookup();
lookup.addItem(tf);
Set<SourceId> readFileIds = GrammarUtils.getIdsFromTransformation(lookup, tf.getID(), "ReadFile(", SourceId.class);
assertEquals(1, readFileIds.size());
assertTrue(readFileIds.contains(sourceId));
}