### Question:
FileStorageService implements StorageService { public static File getFileSystemPath(File base, UUID shardUuid) { String uuid = shardUuid.toString().toLowerCase(ENGLISH); return base.toPath() .resolve(uuid.substring(0, 2)) .resolve(uuid.substring(2, 4)) .resolve(uuid + FILE_EXTENSION) .toFile(); } @Inject  FileStorageService(StorageManagerConfig config);  FileStorageService(File dataDirectory); @Override @PostConstruct void start(); @Override long getAvailableBytes(); @PreDestroy void stop(); @Override File getStorageFile(UUID shardUuid); @Override File getStagingFile(UUID shardUuid); @Override File getQuarantineFile(UUID shardUuid); @Override Set<UUID> getStorageShards(); @Override void createParents(File file); static File getFileSystemPath(File base, UUID shardUuid);  }### Answer:
@Test public void testGetFileSystemPath() { UUID uuid = UUID.fromString("701e1a79-74f7-4f56-b438-b41e8e7d019d"); File expected = new File("/test", format("70/1e/%s.orc", uuid)); assertEquals(getFileSystemPath(new File("/test"), uuid), expected); }