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