public DdlCommandResult execute(
      final String sql,
      final DdlCommand ddlCommand,
      final boolean withQuery,
      final Set<SourceName> withQuerySources
  ) {
    return execute(sql, ddlCommand, withQuery, withQuerySources, false);
  }
@Test
  public void shouldWarnAddDuplicateStreamWithoutReplace() {
    // Given:
    givenCreateStream();
    cmdExec.execute(SQL_TEXT, createStream, false, NO_QUERY_SOURCES);

    // When:
    givenCreateStream(SCHEMA2, false);
    final DdlCommandResult result =cmdExec.execute(SQL_TEXT, createStream,
        false, NO_QUERY_SOURCES);

    // Then:
    assertThat("Expected successful execution", result.isSuccess());
    assertThat(result.getMessage(), containsString("A stream with the same name already exists"));
  }