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