### Question:
ProjectMetadata extends AbstractMetadataItem { public static String getProjectIdentifier(final String moduleName) { final StringBuilder sb = new StringBuilder(PROJECT_MID_PREFIX); if (StringUtils.isNotBlank(moduleName)) { sb.append(MODULE_SEPARATOR).append(moduleName.replace("/", File.separator)); } return sb.toString(); } ProjectMetadata(final Pom pom); static String getModuleName(final String metadataIdentificationString); static String getProjectIdentifier(final String moduleName); static boolean isValid(final String metadataIdentificationString); String getModuleName(); Pom getPom(); @Override final String toString();  }### Answer:
@Test public void testGetProjectIdentifierForLevelOneModule() { assertEquals(LEVEL_ONE_MID, ProjectMetadata.getProjectIdentifier(LEVEL_ONE_MODULE)); }
@Test public void testGetProjectIdentifierForLevelTwoModule() { assertEquals(LEVEL_TWO_MID, ProjectMetadata.getProjectIdentifier(LEVEL_TWO_MODULE)); }
@Test public void testGetProjectIdentifierForRootModule() { assertEquals(ROOT_MID, ProjectMetadata.getProjectIdentifier("")); }