InsertOrAbortImpl extends BaseSqlPart implements Insert { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("INSERT OR ABORT"); }  @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);  }
@Test public void prependTo_prependsProperSql() { InsertOrAbortImpl insertOrAbort = new InsertOrAbortImpl(); RawSqlBuilder builder = new RawSqlBuilderImpl(); insertOrAbort.prependTo(builder); assertThat(builder.toString(), is("INSERT OR ABORT")); }