DropImpl extends BaseSqlPart implements Drop { @NotNull @Override public DropTableIfExists tableIfExists(@NotNull final String tableName) { return tableIfExists(null, tableName); }  @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 tableIfExists_tableName_returnsNotNullValue() { DropImpl drop = new DropImpl(); DropTableIfExists result = drop.tableIfExists("my_table"); assertThat(result, is(notNullValue())); }
@Test public void tableIfExists_databaseNameAndTableName_returnsNotNullValue() { DropImpl drop = new DropImpl(); DropTableIfExists result = drop.tableIfExists("my_database", "my_table"); assertThat(result, is(notNullValue())); }