@Test
    void verifyDoAndHandle2() {
        var supplier = FunctionUtils.doAndHandle(
            () -> {
                throw new IllegalArgumentException();
            }, o -> {
                throw new IllegalArgumentException();
            });
        assertThrows(IllegalArgumentException.class, supplier::get);
        supplier = FunctionUtils.doAndHandle(
            () -> {
                throw new IllegalArgumentException();
            }, o -> false);
        assertFalse((Boolean) supplier.get());
    }
This is {@link FunctionUtilsTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-util-api/src/test/java/org/apereo/cas/util/function/FunctionUtilsTests.java