public static FromEndOfWindow pastEndOfWindow() {
    return new FromEndOfWindow();
  }
@Test
  public void testLateFiringsToString() {
    TriggerStateMachine trigger =
        AfterWatermarkStateMachine.pastEndOfWindow()
            .withLateFirings(StubTriggerStateMachine.named("t1"));

    assertEquals("AfterWatermark.pastEndOfWindow().withLateFirings(t1)", trigger.toString());
  }