@Test
    void verifyOperation() {
        val ctx = new AuditActionContext("casuser", "TEST", "TEST",
            "CAS", LocalDateTime.now(Clock.systemUTC()),
            new ClientInfo("1.2.3.4", "1.2.3.4", UUID.randomUUID().toString(), "London"));
        val serializer = new AuditActionContextJsonSerializer(applicationContext);
        val result = serializer.toString(ctx);
        assertNotNull(result);
        val audit = serializer.from(result);
        assertNotNull(audit);
    }
This is {@link AuditActionContextJsonSerializerTests}.

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