public static void validate(final String table, final String column, final Comparable<?> shadowValue) {
        for (Class<?> each : UNSUPPORTED_TYPES) {
            ShardingSpherePreconditions.checkState(!each.isAssignableFrom(shadowValue.getClass()), () -> new UnsupportedShadowColumnTypeException(table, column, each));
        }
    }
@Test
    void assertValidateEnumType() {
        assertThrows(UnsupportedShadowColumnTypeException.class, () -> ShadowValueValidator.validate("tbl", "col", mock(Enum.class)));
    }