@Test public void prependTo_prependsProperSql() { CreateImpl create = new CreateImpl(); RawSqlBuilder builder = new RawSqlBuilderImpl(); create.prependTo(builder); assertThat(builder.toString(), is("CREATE")); }
@Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("CREATE"); }
CreateImpl extends BaseSqlPart implements Create { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("CREATE"); } }
CreateImpl extends BaseSqlPart implements Create { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("CREATE"); }  }
CreateImpl extends BaseSqlPart implements Create { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("CREATE"); }  @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); }
CreateImpl extends BaseSqlPart implements Create { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("CREATE"); }  @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);  }