@Test
public void testTransitionUpdates() {

  transitioner.initialize(RunState.fresh(WORKFLOW_INSTANCE));
  transitioner.receive(eventFactory.triggerExecution(Trigger.natural()));
  verify(time).get();
  assertThat(transitioner.get(WORKFLOW_INSTANCE).state(), equalTo(QUEUED));
  assertThat(transitioner.get(WORKFLOW_INSTANCE).counter(), is(0L));
}