@Test
    void verifyOwner() {
        val repo = new DefaultResourceSetRepository();
        val set = buildTestResource();
        repo.save(set);
        assertFalse(repo.getByOwner("cas").isEmpty());
        assertEquals(1, repo.count());
    }
This is {@link DefaultResourceSetRepositoryTests}.

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