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();  }
@Test public void prependTo_prependsProperSql() { ColumnImpl column = new ColumnImpl("test"); RawSqlBuilder builder = new RawSqlBuilderImpl(); column.prependTo(builder); assertThat(builder.toString(), is("test")); }