@Test public void prependTo_prependsProperSql() { ToImpl to = new ToImpl(mock(SqlPart.class)); RawSqlBuilder builder = new RawSqlBuilderImpl(); to.prependTo(builder); assertThat(builder.toString(), is("TO")); }
@Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("TO"); }
ToImpl extends BaseSqlPart implements To { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("TO"); } }
ToImpl extends BaseSqlPart implements To { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("TO"); } ToImpl(@NotNull final SqlPart previous); }
ToImpl extends BaseSqlPart implements To { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("TO"); } ToImpl(@NotNull final SqlPart previous); @NotNull @Override FinishedStatement savePoint(@NotNull final String savePointName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); }
ToImpl extends BaseSqlPart implements To { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("TO"); } ToImpl(@NotNull final SqlPart previous); @NotNull @Override FinishedStatement savePoint(@NotNull final String savePointName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }