@Test
    void verifyOperation() {
        val set = new ResourceSet();
        assertThrows(InvalidResourceSetException.class,
            () -> set.validate(new CommonProfile()));
        val profile = new CommonProfile();
        profile.setId(UUID.randomUUID().toString());
        assertThrows(InvalidResourceSetException.class,
            () -> set.validate(profile));
    }
This is {@link ResourceSetTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-oauth-uma/src/test/java/org/apereo/cas/uma/ticket/resource/ResourceSetTests.java