@Test
public void testCyclicRef() throws Exception {

    Map<String, Object> fieldsAndValues = new HashMap<>();
    fieldsAndValues.put("1", "${2} minus one");
    fieldsAndValues.put("2", "${1} plus one");
    StreamlineEvent event = StreamlineEventImpl.builder().fieldsAndValues(fieldsAndValues).dataSourceId("dsrcid").build();
    TransformRuntime transformRuntime = new SubstituteTransformRuntime();
    List<StreamlineEvent> result = transformRuntime.execute(event);
    System.out.println(result);
    assertEquals(1, result.size());
    assertEquals(event, result.get(0));
}