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