@Override
  public MaterializedTable nonWindowed() {
    return new KsqlMaterializedTable(inner.nonWindowed());
  }
@SuppressWarnings("OptionalGetWithoutIsPresent")
  @Test
  public void shouldReturnSelectTransformedFromNonWindowed() {
    // Given:
    final MaterializedTable table = materialization.nonWindowed();
    givenNoopFilter();
    when(project.apply(any(), any(), any())).thenReturn(Optional.of(transformed));

    // When:
    final Iterator<Row> result = table.get(aKey, partition);

    // Then:
    assertThat(result, is(not(Optional.empty())));
    assertThat(result.hasNext(), is(true));
    final Row row = result.next();
    assertThat(row.key(), is(aKey));
    assertThat(row.window(), is(Optional.empty()));
    assertThat(row.value(), is(transformed));
  }