@Test
    void verifyOperation() throws Throwable {
        val resource = new TemporaryFileSystemResource(File.createTempFile("temp", ".txt"));
        assertFalse(resource.isFile());

        try (val is = resource.getInputStream()) {
            val results = IOUtils.toString(is, StandardCharsets.UTF_8);
            assertNotNull(results);
        }
        assertFalse(resource.exists());
    }
This is {@link TemporaryFileSystemResourceTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-util-api/src/test/java/org/apereo/cas/util/io/TemporaryFileSystemResourceTests.java