@Override
    public BroadcastRuleConfiguration buildToBeAlteredRuleConfiguration(final DropBroadcastTableRuleStatement sqlStatement) {
        BroadcastRuleConfiguration result = new BroadcastRuleConfiguration(new HashSet<>(rule.getConfiguration().getTables()));
        Collection<String> toBeDroppedTableNames = new CaseInsensitiveSet<>(sqlStatement.getTables());
        result.getTables().removeIf(toBeDroppedTableNames::contains);
        return result;
    }
@Test
    void assertUpdateCurrentRuleConfiguration() {
        BroadcastRuleConfiguration config = new BroadcastRuleConfiguration(new LinkedList<>());
        config.getTables().add("t_address");
        BroadcastRule rule = mock(BroadcastRule.class);
        when(rule.getConfiguration()).thenReturn(config);
        executor.setRule(rule);
        DropBroadcastTableRuleStatement sqlStatement = new DropBroadcastTableRuleStatement(false, Collections.singleton("t_address"));
        BroadcastRuleConfiguration toBeAlteredConfig = executor.buildToBeAlteredRuleConfiguration(sqlStatement);
        assertTrue(toBeAlteredConfig.getTables().isEmpty());
    }