PathDirectory { public static Path getClusterPostProcessorOutputDirectory(Path outputPathProvidedByUser) { return new Path(outputPathProvidedByUser + File.separator + POST_PROCESS_DIRECTORY); } 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 shouldReturnClusterPostProcessorOutputDirectory() { Path expectedPath = new Path(output, PathDirectory.POST_PROCESS_DIRECTORY); assertEquals(expectedPath, PathDirectory.getClusterPostProcessorOutputDirectory(output)); }