    @Test
    public void testGetAvailableContainerSignatureFiles() throws IOException {

        
        deleteSigDirs();
        createSigDirs();
        
        final Path containerSigFile1 = containerSigFileDir.resolve("container_sigs-20100927.xml");
        final Path containerSigFile2 = containerSigFileDir.resolve("container_sigs-20100827.xml");
        
        Files.createFile(containerSigFile1);
        Files.createFile(containerSigFile2);
        
        assertTrue(Files.exists(containerSigFile1));
        assertTrue(Files.exists(containerSigFile2));
        
        Map<SignatureType, SortedMap<String, SignatureFileInfo>> sigFiles = 
            signatureManager.getAvailableSignatureFiles();
        SortedMap<String, SignatureFileInfo> containerSigFiles = sigFiles.get(SignatureType.CONTAINER);
        
        
        assertEquals(2, containerSigFiles.size());
        
        assertEquals(containerSigFile1, containerSigFiles.get("container_sigs-20100927").getFile());
        assertEquals(containerSigFile2, containerSigFiles.get("container_sigs-20100827").getFile());

        assertEquals(containerSigFileDir.resolve("container_sigs-20100927.xml"),
                containerSigFiles.get("container_sigs-20100927").getFile());
    }