@Test
        void verifyOperation() throws Throwable {
            val request = new MockHttpServletRequest();
            val body = new LinkedMultiValueMap<String, String>();
            body.put("username", List.of("casuser"));
            body.put("password", List.of("resusac"));
            val credentials = awsSecurityTokenServiceEndpoint.fetchCredentials(null,
                null, null, null, body, request, new MockHttpServletResponse());
            assertEquals(HttpStatus.UNAUTHORIZED, credentials.getStatusCode());
        }
This is {@link AmazonSecurityTokenServiceEndpointTests}.

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