@Test public void prependTo_prependsProperSql() { ColumnImpl column = new ColumnImpl("test"); RawSqlBuilder builder = new RawSqlBuilderImpl(); column.prependTo(builder); assertThat(builder.toString(), is("test")); }
@Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend(mNewColumnName); }
ColumnImpl extends BaseSqlPart implements Column { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend(mNewColumnName); } }
ColumnImpl extends BaseSqlPart implements Column { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend(mNewColumnName); } ColumnImpl(@NotNull final String newColumnName); }
ColumnImpl extends BaseSqlPart implements Column { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend(mNewColumnName); } ColumnImpl(@NotNull final String newColumnName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); }
ColumnImpl extends BaseSqlPart implements Column { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend(mNewColumnName); } ColumnImpl(@NotNull final String newColumnName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }