@Test
    void verifyOperation() {
        val strategy = new AmazonVerifiedPermissionsRegisteredServiceAccessStrategy();
        strategy.setActionId("read");

        val accessRequest = RegisteredServiceAccessStrategyRequest.builder()
            .principalId("casuser")
            .applicationContext(applicationContext)
            .registeredService(RegisteredServiceTestUtils.getRegisteredService())
            .service(RegisteredServiceTestUtils.getService())
            .attributes(CollectionUtils.wrap("key1", Set.of("value1")))
            .build();
        assertFalse(strategy.authorizeRequest(accessRequest));
    }
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