use of io.confluent.ksql.rest.entity.PropertiesList.Property in project ksql by confluentinc.
the class PropertiesListTableBuilderTest method shouldHandleServerOverwrittenProperties.
@Test
public void shouldHandleServerOverwrittenProperties() {
// Given:
final PropertiesList propList = new PropertiesList("list properties;", ImmutableList.of(new Property(SOME_KEY, "KSQL", "earliest")), Collections.emptyList(), Collections.emptyList());
// When:
final Table table = builder.buildTable(propList);
// Then:
assertThat(getRows(table), contains(row(SOME_KEY, "KSQL", "SERVER", "earliest")));
}
Aggregations