public static boolean isExpected(final Class<?> exceptionClass) {
        return EXCEPTIONS.stream().anyMatch(each -> each.isAssignableFrom(exceptionClass));
    }
@Test
    void assertIsExpected() {
        assertTrue(ExpectedExceptions.isExpected(ShardingSphereServerException.class));
        assertTrue(ExpectedExceptions.isExpected(SQLDialectException.class));
        assertTrue(ExpectedExceptions.isExpected(ShardingSphereSQLException.class));
    }