@Override
    public Optional<EncryptIndexReviser> getIndexReviser(final EncryptRule rule, final String tableName) {
        return rule.findEncryptTable(tableName).map(EncryptIndexReviser::new);
    }
@Test
    void assertGetIndexReviser() {
        Optional<EncryptIndexReviser> indexReviser = new EncryptMetaDataReviseEntry().getIndexReviser(createEncryptRule(), TABLE_NAME);
        assertTrue(indexReviser.isPresent());
        assertThat(indexReviser.get().getClass(), is(EncryptIndexReviser.class));
    }