assertFalse(in.hasNext());
assertEquals("bar", file);
}
public void testMount() throws Exception {
RAMMountFactory resolver = new RAMMountFactory();
FS fs = new FS.Builder().register("ram", resolver).mount("ram:/;ram:/b").build();
assertEquals(2, fs.drivers.size());
assertInstance(RAMDriver.class, fs.drivers.get(0));
assertInstance(RAMDriver.class, fs.drivers.get(1));
}