@Override
  public String toString() {
    return String.format("Repeatedly.forever(%s)", subTriggers.get(REPEATED));
  }
@Test
  public void testToString() {
    Trigger trigger =
        Repeatedly.forever(
            new StubTrigger() {
              @Override
              public String toString() {
                return "innerTrigger";
              }
            });

    assertEquals("Repeatedly.forever(innerTrigger)", trigger.toString());
  }