@Test public void prependTo_prependsProperSql() { InsertOrRollbackImpl insertOrRollback = new InsertOrRollbackImpl(); RawSqlBuilder builder = new RawSqlBuilderImpl(); insertOrRollback.prependTo(builder); assertThat(builder.toString(), is("INSERT OR ROLLBACK")); }
@Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("INSERT OR ROLLBACK"); }
InsertOrRollbackImpl extends BaseSqlPart implements Insert { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("INSERT OR ROLLBACK"); } }
InsertOrRollbackImpl extends BaseSqlPart implements Insert { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("INSERT OR ROLLBACK"); }  }
InsertOrRollbackImpl extends BaseSqlPart implements Insert { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("INSERT OR ROLLBACK"); }  @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); @NotNull @Override Into into(@NotNull final String tableName); @NotNull @Override Into into(@Nullable final String databaseName, @NotNull final String tableName); }
InsertOrRollbackImpl extends BaseSqlPart implements Insert { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("INSERT OR ROLLBACK"); }  @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); @NotNull @Override Into into(@NotNull final String tableName); @NotNull @Override Into into(@Nullable final String databaseName, @NotNull final String tableName);  }