### Question:
VirtualContainer implements Closeable { public Path getFile(String fileName) throws FileNotFoundException { if (fileName == null || fileName.length() == 0) { throw new IllegalArgumentException("文件名为空"); } Path res = Paths.get(fullPath, fileName); if (Files.isDirectory(res) || Files.notExists(res)) { throw new FileNotFoundException("无法在目录: " + fullPath + "中找到，文件 [ " + fileName + " ]"); } return res; } private  VirtualContainer();  VirtualContainer(Path fullDir);  VirtualContainer(Path parent, String dirName); String getContainerName(); String getSysAbsPath(); VirtualContainer putFile(Path file); VirtualContainer putObj(String fileName, Element element); Element getObj(String fileName); Path getFile(String fileName); R obtainContainer(String name, Function<Path, R> mapper); R getContainer(String name, Function<Path, R> mapper); VirtualContainer getParent(); Path getContainerPath(); boolean exit(String fileName); void clean(); void flush(); VirtualContainer flushContainerByName(String name); VirtualContainer flushFileByName(String name); ST_Loc getAbsLoc(); @Override void close();  }### Answer:
@Test void getFile() throws IOException { final String fileName = "testimg.png"; Path path = Paths.get("src/test/resources", fileName); vc.putFile(path); Path file = vc.getFile(fileName); final byte[] bytes = Files.readAllBytes(file); final byte[] bytes1 = Files.readAllBytes(path); Assertions.assertArrayEquals(bytes, bytes1); }