PathDirectory { public static Path getBottomLevelClusterPath(Path output, String clusterId) { return new Path(output + File.separator + BOTTOM_LEVEL_CLUSTER_DIRECTORY + File.separator + clusterId); } private  PathDirectory(); static Path getTopLevelClusterPath(Path output); static Path getClusterPostProcessorOutputDirectory(Path outputPathProvidedByUser); static Path getClusterOutputClusteredPoints(Path output); static Path getBottomLevelClusterPath(Path output, String clusterId); static Path getClusterPathForClusterId(Path clusterPostProcessorOutput, String clusterId); static final String TOP_LEVEL_CLUSTER_DIRECTORY; static final String POST_PROCESS_DIRECTORY; static final String CLUSTERED_POINTS_DIRECTORY; static final String BOTTOM_LEVEL_CLUSTER_DIRECTORY; }
@Test public void shouldReturnBottomLevelClusterPath() { Path expectedPath = new Path(output + File.separator + PathDirectory.BOTTOM_LEVEL_CLUSTER_DIRECTORY + File.separator + '1'); assertEquals(expectedPath, PathDirectory.getBottomLevelClusterPath(output, "1")); }