@Test
public void testSingleUsage() throws IOException {

    LOG.info("testSingleUsage starting");
    try (SharedFileBackedOutputStream fbos = new SharedFileBackedOutputStream(5, TEMP_DIR)) {
        byte[] bytes = new byte[]{0, 1, 2, 3, 4, 5, 6};
        fbos.write(bytes);
        assertNotNull("Expected temp file created", FileBackedOutputStreamTest.findTempFileName(TEMP_DIR));
        fbos.cleanup();
        assertNull("Found unexpected temp file", FileBackedOutputStreamTest.findTempFileName(TEMP_DIR));
    }
    LOG.info("testSingleUsage ending");
}