private static ExecutableObserver getExecutableObserver() {
        val observer = mock(ExecutableObserver.class);
        when(observer.supply(any(), any(CheckedSupplier.class))).thenAnswer(args -> {
            val supplier = args.getArgument(1, CheckedSupplier.class);
            return supplier.get();
        });
        return observer;
    }
This is {@link ExecutableObserverTests}.

@author Misagh Moayyed
@since 7.1.0
core/cas-server-core-monitor/src/test/java/org/apereo/cas/monitor/ExecutableObserverTests.java