DropImpl extends BaseSqlPart implements Drop { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("DROP"); }  @NotNull @Override DropTable table(@NotNull final String tableName); @NotNull @Override DropTable table(@Nullable final String databaseName, @NotNull final String tableName); @NotNull @Override DropTableIfExists tableIfExists(@NotNull final String tableName); @NotNull @Override DropTableIfExists tableIfExists(@Nullable final String databaseName, @NotNull final String tableName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }
@Test public void prependTo_prependsProperSql() { DropImpl drop = new DropImpl(); RawSqlBuilder builder = new RawSqlBuilderImpl(); drop.prependTo(builder); assertThat(builder.toString(), is("DROP")); }