@Override
  public boolean consistentWithEquals() {
    return windowCoder.consistentWithEquals();
  }
@Test
  public void testConsistentWithEquals() {
    TimestampPrefixingWindowCoder<CustomWindow> coder1 =
        TimestampPrefixingWindowCoder.of(CustomWindowCoder.of(true, true));
    assertThat(coder1.consistentWithEquals(), equalTo(true));
    TimestampPrefixingWindowCoder<CustomWindow> coder2 =
        TimestampPrefixingWindowCoder.of(CustomWindowCoder.of(false, true));
    assertThat(coder2.consistentWithEquals(), equalTo(false));
  }