@Override
  public StreamsMaterializedTable nonWindowed() {
    if (windowInfo.isPresent()) {
      throw new UnsupportedOperationException("Table has windowed key");
    }
    return new KsMaterializedTable(stateStore);
  }
@Test
  public void shouldReturnNonWindowed() {
    // Given:
    givenWindowType(Optional.empty());

    // When:
    final StreamsMaterializedTable table = materialization.nonWindowed();

    // Then:
    assertThat(table, is(instanceOf(KsMaterializedTable.class)));
  }