### Question:
ProjectManager { private String getRootProjectName(String name){ if(name.contains("--")){ String type = null; if(name.endsWith("column")) type = "column"; else if(name.endsWith("row")) type = "row"; String subset = name.substring(name.indexOf("--"), name.length()-type.length()); name = name.replace(subset, ""); } return name; } protected  ProjectManager(); void setWorkspace(Workspace workspace); Workspace getWorkspace(); void setDatasetBuilder(PresetDatasetBuilder datasetBuilder); PresetDatasetBuilder getDatasetBuilder(); void setProbeAnnotationPlatforms(ProbeAnnotationPlatforms probeAnnotations); ProbeAnnotationPlatforms getProbeAnnotationPlatforms(); void setDimensionBuilder(PresetDimensionBuilder dimensionBuilder); PresetDimensionBuilder getDimensionBuilder(); static ProjectManager getSingleton(); static void setSingleton(ProjectManager pm); void dispose(); void registerProject(Project project, ProjectMetadata projectMetadata); abstract boolean loadProjectMetadata(long projectID); abstract void importProject(long projectID, InputStream inputStream, boolean gziped); abstract void exportProject(long projectId, TarOutputStream tos); void ensureProjectSaved(long id); void save(boolean allModified); InterProjectModel getInterProjectModel(); ProjectMetadata getProjectMetadata(long id); ProjectMetadata getProjectMetadata(String name); long getProjectID(String name); Map<Long, ProjectMetadata> getAllProjectMetadata(); Project getProject(long id); PreferenceStore getPreferenceStore(); List<String> getExpressions(); abstract HistoryEntryManager getHistoryEntryManager(); void deleteProject(Project project); abstract void deleteProject(long projectID); void setBusy(boolean busy); void addLatestExpression(String s);  }### Answer:
@Test public void testColumn() { String name = getRootProjectName("mouse_test_data.tsv--s1column"); assertThat(name, is("mouse_test_data.tsvcolumn")); }
@Test public void testColumnNoop() { String name = getRootProjectName("mouse_test_data.tsvcolumn"); assertThat(name, is("mouse_test_data.tsvcolumn")); }
@Test public void testRow() { String name = getRootProjectName("mouse_test_data.tsv--s1row"); assertThat(name, is("mouse_test_data.tsvrow")); }
@Test public void testRowNoop() { String name = getRootProjectName("mouse_test_data.tsvrow"); assertThat(name, is("mouse_test_data.tsvrow")); }