use of io.confluent.ksql.parser.tree.ListProperties in project ksql by confluentinc.
the class KsqlParserTest method testShowProperties.
@Test
public void testShowProperties() throws Exception {
String simpleQuery = "SHOW PROPERTIES;";
Statement statement = KSQL_PARSER.buildAst(simpleQuery, metaStore).get(0);
Assert.assertTrue(statement instanceof ListProperties);
ListProperties listProperties = (ListProperties) statement;
Assert.assertTrue(listProperties.toString().equalsIgnoreCase("ListProperties{}"));
}
Aggregations