public Statement buildStatement(final ParserRuleContext parseTree) {
    return build(Optional.of(getSources(parseTree)), parseTree);
  }
@Test
  public void shouldThrowOnUnknownSelectQualifier() {
    // Given:
    final SingleStatementContext stmt = givenQuery("SELECT unknown.COL0 FROM TEST1;");

    // When:
    final Exception e = assertThrows(
        KsqlException.class,
        () -> builder.buildStatement(stmt)
    );

    // Then:
    assertThat(e.getMessage(), containsString(
        "'UNKNOWN' is not a valid stream/table name or alias."));
  }