Search in sources :

Example 1 with StreamsMaterializedTable

use of io.confluent.ksql.execution.streams.materialization.StreamsMaterializedTable in project ksql by confluentinc.

the class KsMaterializationTest method shouldReturnNonWindowed.

@Test
public void shouldReturnNonWindowed() {
    // Given:
    givenWindowType(Optional.empty());
    // When:
    final StreamsMaterializedTable table = materialization.nonWindowed();
    // Then:
    assertThat(table, is(instanceOf(KsMaterializedTable.class)));
}
Also used : StreamsMaterializedTable(io.confluent.ksql.execution.streams.materialization.StreamsMaterializedTable) Test(org.junit.Test)

Aggregations

StreamsMaterializedTable (io.confluent.ksql.execution.streams.materialization.StreamsMaterializedTable)1 Test (org.junit.Test)1