@Test
    public void testReturnFiles() throws Exception {
        File file1 = new File("/test1");
        File file2 = new File("/test2");

        HashMap<String, File> map = new HashMap<String, File>();
        map.put("1", file1);
        map.put("2", file2);

        FileAcquirer fileAcquirer = MockFileAcquirer.returnFiles(map);

        assertEquals(file1, waitFor(fileAcquirer, createFileReference("1")));
        assertEquals(file2, waitFor(fileAcquirer, createFileReference("2")));
    }
Test of public API of MockFileAcquirer, since it is intended to be used by 3rd parties.
Do not place it in the same package as MockFileAcquirer.
@author Tony Vaagenes
fileacquirer/src/test/java/MockFileAcquirerTest.java