@Test
        void verifyJsonOperation() {
            val jp = mock(JoinPoint.class);
            val args = new Object[]{"something", RegisteredServiceTestUtils.getService()};
            when(jp.getArgs()).thenReturn(args);
            var input = serviceAuditResourceResolver.resolveFrom(jp, new Object());
            assertTrue(input.length > 0);

            input = serviceAuditResourceResolver.resolveFrom(jp, new RuntimeException());
            assertTrue(input.length > 0);
        }
This is {@link ServiceAuditResourceResolverTests}.

@author Misagh Moayyed
@since 6.0.0
core/cas-server-core-audit/src/test/java/org/apereo/cas/audit/spi/ServiceAuditResourceResolverTests.java