@Test
    void verifySerializeToJson() throws IOException {
        val strategy = new AmazonVerifiedPermissionsRegisteredServiceAccessStrategy();
        strategy.setActionId("read");
        strategy.setCredentialAccessKey(UUID.randomUUID().toString());
        strategy.setCredentialSecretKey(UUID.randomUUID().toString());
        strategy.setPolicyStoreId("123456");
        strategy.setRegion("us-east-1");
        strategy.setContext(CollectionUtils.wrap("key1", "value1"));
        MAPPER.writeValue(JSON_FILE, strategy);
        val read = MAPPER.readValue(JSON_FILE, AmazonVerifiedPermissionsRegisteredServiceAccessStrategy.class);
        assertEquals(strategy, read);
    }
This is {@link AmazonVerifiedPermissionsRegisteredServiceAccessStrategyTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-aws/src/test/java/org/apereo/cas/aws/AmazonVerifiedPermissionsRegisteredServiceAccessStrategyTests.java