@Test
public void infoTriggerExecution() {

  assertThat(
      EventUtil.info(Event.triggerExecution(TestData.WORKFLOW_INSTANCE, Trigger.adhoc("foobar"), TRIGGER_PARAMETERS)),
      is("Trigger id: foobar, Parameters: {\"env\":{\"BAR\":\"bar\",\"FOO\":\"foo\"}}"));
}