### Question:
ProjectMetadata extends AbstractMetadataItem { public static boolean isValid(final String metadataIdentificationString) { return metadataIdentificationString.startsWith(PROJECT_MID_PREFIX); } 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 testInvalidMIDIsNotValid() { assertFalse(ProjectMetadata.isValid("MID:foo#bar?baz")); }
@Test public void testLevelOneMIDIsValid() { assertTrue(ProjectMetadata.isValid(LEVEL_ONE_MID)); }
@Test public void testLevelTwoMIDIsValid() { assertTrue(ProjectMetadata.isValid(LEVEL_TWO_MID)); }
@Test public void testRootMIDIsValid() { assertTrue(ProjectMetadata.isValid(ROOT_MID)); }