private static ProceedingJoinPoint getProceedingJoinPoint() throws Throwable {
        val joinPoint = mock(ProceedingJoinPoint.class);
        val signature = mock(Signature.class);
        when(signature.getName()).thenReturn("test");
        when(signature.getDeclaringTypeName()).thenReturn("type");
        when(joinPoint.getSignature()).thenReturn(signature);
        when(joinPoint.proceed(any())).thenReturn("OK");
        when(joinPoint.proceed()).thenReturn("OK");
        val staticPart = mock(JoinPoint.StaticPart.class);
        when(staticPart.toLongString()).thenReturn(UUID.randomUUID().toString());
        when(joinPoint.getStaticPart()).thenReturn(staticPart);
        return joinPoint;
    }
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