@Test public void prependTo_prependsProperSql() { ImmediateImpl immediate = new ImmediateImpl(mock(SqlPart.class)); RawSqlBuilder builder = new RawSqlBuilderImpl(); immediate.prependTo(builder); assertThat(builder.toString(), is("IMMEDIATE")); }
@Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("IMMEDIATE"); }
ImmediateImpl extends BaseSqlPart implements Immediate { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("IMMEDIATE"); } }
ImmediateImpl extends BaseSqlPart implements Immediate { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("IMMEDIATE"); } ImmediateImpl(@NotNull final SqlPart sqlPart); }
ImmediateImpl extends BaseSqlPart implements Immediate { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("IMMEDIATE"); } ImmediateImpl(@NotNull final SqlPart sqlPart); @NotNull @Override Transaction transaction(); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); }
ImmediateImpl extends BaseSqlPart implements Immediate { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("IMMEDIATE"); } ImmediateImpl(@NotNull final SqlPart sqlPart); @NotNull @Override Transaction transaction(); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }