@Override
  public String toString() {
    return String.format("Repeatedly.forever(%s)", subTriggers.get(REPEATED));
  }
@Test
  public void testToString() {
    TriggerStateMachine trigger =
        RepeatedlyStateMachine.forever(StubTriggerStateMachine.named("innerTrigger"));
    assertEquals("Repeatedly.forever(innerTrigger)", trigger.toString());
  }