### Question:
MetadataIdentificationUtils { public static String getMetadataClassId(final String metadataId) { return create(getMetadataClass(metadataId)); } private  MetadataIdentificationUtils(); static String create(final Class<?> metadataClass); static String create(final String fullyQualifiedClassName); static String create(final String fullyQualifiedMetadataClass,
      final String instanceIdentificationKey); static String getMetadataClass(final String metadataId); static String getMetadataClassId(final String metadataId); static String getMetadataInstance(final String metadataId); static boolean isIdentifyingClass(final String metadataIdentificationString); static boolean isIdentifyingInstance(final String metadataIdentificationString); static boolean isValid(final String metadataIdentificationString);  }### Answer:
@Test public void testGetMetadataClassIdFromClassMid() { assertEquals(MID_PREFIX + METADATA_CLASS, MetadataIdentificationUtils.getMetadataClassId(CLASS_MID)); }
@Test public void testGetMetadataClassIdFromEmptyMid() { assertNull(MetadataIdentificationUtils.getMetadataClassId("")); }
@Test public void testGetMetadataClassIdFromInstanceMid() { assertEquals(MID_PREFIX + METADATA_CLASS, MetadataIdentificationUtils.getMetadataClassId(INSTANCE_MID)); }
@Test public void testGetMetadataClassIdFromMidPrefix() { assertNull(MetadataIdentificationUtils.getMetadataClassId(MID_PREFIX)); }
@Test public void testGetMetadataClassIdFromMidPrefixPlusDelimiter() { assertNull(MetadataIdentificationUtils.getMetadataClassId(MID_PREFIX + INSTANCE_DELIMITER)); }
@Test public void testGetMetadataClassIdFromNullMid() { assertNull(MetadataIdentificationUtils.getMetadataClassId(null)); }