DeleteImpl extends BaseSqlPart implements Delete { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("DELETE"); }  @NotNull @Override DeleteFrom from(@NotNull final String tableName); @NotNull @Override DeleteFrom from(@Nullable final String databaseName, @NotNull final String tableName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }
@Test public void prependTo_prependsProperSql() { DeleteImpl delete = new DeleteImpl(); RawSqlBuilder builder = new RawSqlBuilderImpl(); delete.prependTo(builder); assertThat(builder.toString(), is("DELETE")); }