public Statement buildStatement(final ParserRuleContext parseTree) {
    return build(Optional.of(getSources(parseTree)), parseTree);
  }
@Test
  public void shouldBuildAssertNotExistsTopicWithConfigsAndTimeout() {
    // Given:
    final SingleStatementContext stmt
        = givenQuery("ASSERT NOT EXISTS TOPIC 'a-b-c' WITH (REPLICAS=1, partitions=1) TIMEOUT 10 SECONDS;");

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

    // Then:
    assertThat(assertTopic.getTopic(), is("a-b-c"));
    assertThat(assertTopic.getConfig().get("REPLICAS").getValue(), is(1));
    assertThat(assertTopic.getConfig().get("PARTITIONS").getValue(), is(1));
    assertThat(assertTopic.getTimeout().get().getTimeUnit(), is(TimeUnit.SECONDS));
    assertThat(assertTopic.getTimeout().get().getValue(), is(10L));
    assertThat(assertTopic.checkExists(), is(false));
  }