@Test
    void verifyBadDefinitionsResource() throws Throwable {
        val file = File.createTempFile("badfile", ".json");
        FileUtils.write(file, "data", StandardCharsets.UTF_8);
        try (val store = new DefaultAttributeDefinitionStore(new FileSystemResource(file))) {
            store.setScope("example.org");
            assertTrue(store.isEmpty());
        }
    }
This is {@link DefaultAttributeDefinitionStoreTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-person-directory/src/test/java/org/apereo/cas/DefaultAttributeDefinitionStoreTests.java