@Test
public void testOpenZipFsVirtualFS() throws Exception {

    final Path srcZipFile = Paths.get(ZipUtilTest.class.getResource("example.zip").toURI());
    Configuration[] configs = new Configuration[]{Configuration.osX(), Configuration.unix(), Configuration.windows()};
    for (Configuration config : configs) {
        final FileSystem fileSystem = Jimfs.newFileSystem(config);
        final Path path = fileSystem.getPath("a", "b c", "mu\\d", "hi", "file.zip");
        Files.createDirectories(path.getParent());
        Files.copy(srcZipFile, path);
        final FileSystem zipFs = ZipUtil.openZipFs(path);
        assertExampleZip(zipFs);
    }
}