public Statement buildStatement(final ParserRuleContext parseTree) {
    return build(Optional.of(getSources(parseTree)), parseTree);
  }
@Test
  public void shouldBuildAssertTopic() {
    // Given:
    final SingleStatementContext stmt
        = givenQuery("ASSERT TOPIC X;");

    // When:
    final AssertTopic assertTopic = (AssertTopic) builder.buildStatement(stmt);

    // Then:
    assertThat(assertTopic.getTopic(), is("X"));
    assertThat(assertTopic.getConfig().size(), is(0));
    assertThat(assertTopic.getTimeout(), is(Optional.empty()));
    assertThat(assertTopic.checkExists(), is(true));
  }