CreateImpl extends BaseSqlPart implements Create { @NotNull @Override public CreateTableIfNotExists tableIfNotExists(@NotNull final String tableName) { return tableIfNotExists(null, tableName); }  @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); @NotNull @Override Temporary temp(); @NotNull @Override Temporary temporary(); @NotNull @Override CreateTable table(@NotNull final String tableName); @NotNull @Override CreateTable table(@Nullable final String databaseName, @NotNull final String tableName); @NotNull @Override CreateTableIfNotExists tableIfNotExists(@NotNull final String tableName); @NotNull @Override CreateTableIfNotExists tableIfNotExists(@Nullable final String databaseName, @NotNull final String tableName);  }
@Test public void tableifNotExists_table_returnsNotNullValue() { CreateImpl create = new CreateImpl(); CreateTableIfNotExists result = create.tableIfNotExists("table"); assertThat(result, is(notNullValue())); }
@Test public void tableIfNotExists_databaseAndTable_returnsNotNullValue() { CreateImpl create = new CreateImpl(); CreateTableIfNotExists result = create.tableIfNotExists("database", "table"); assertThat(result, is(notNullValue())); }