@Test
    void verifyFailsOp() {
        assertNotNull(amazonS3ServiceRegistryClient);
        val service = mock(RegisteredService.class);
        when(service.getId()).thenThrow(new RuntimeException());
        val res = newServiceRegistry.save(service);
        assertEquals(res, service);
        assertFalse(newServiceRegistry.delete(service));
    }
This is {@link AmazonS3ServiceRegistryTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-aws-s3-service-registry/src/test/java/org/apereo/cas/aws/s3/services/AmazonS3ServiceRegistryTests.java