@Override
    public void checkBeforeUpdate(final AlterMaskRuleStatement sqlStatement) {
        checkToBeAlteredRules(sqlStatement);
    }
@Test
    void assertCheckBeforeUpdateWithoutToBeAlteredAlgorithm() {
        MaskRule rule = mock(MaskRule.class);
        when(rule.getConfiguration()).thenReturn(createCurrentRuleConfiguration());
        executor.setRule(rule);
        assertThrows(MissingRequiredRuleException.class, () -> executor.checkBeforeUpdate(createSQLStatement("INVALID_TYPE")));
    }