public static <T extends Throwable> void checkState(final boolean expectedExpression, final Supplier<T> exceptionSupplierIfUnexpected) throws T {
        if (!expectedExpression) {
            throw exceptionSupplierIfUnexpected.get();
        }
    }
@Test
    void assertCheckStateToNotThrowException() {
        assertDoesNotThrow(() -> ShardingSpherePreconditions.checkState(true, SQLException::new));
    }