### Question:
PhysicalTypeIdentifierNamingUtils { public static LogicalPath getPath(final String metadataId) { Validate.isTrue(MetadataIdentificationUtils.isIdentifyingInstance(metadataId), "Metadata id '%s' does not appear to be a valid identifier", metadataId); final String instanceKey = MetadataIdentificationUtils.getMetadataInstance(metadataId); final int index = instanceKey.indexOf("?"); return LogicalPath.getInstance(instanceKey.substring(0, index)); } private  PhysicalTypeIdentifierNamingUtils(); static String createIdentifier(final String metadataClass, final JavaType projectType,
      final LogicalPath path); static JavaType getJavaType(final String metadataIdentificationString); static JavaType getJavaType(final String metadataClass, final String metadataId); static String getModule(final String metadataId); static LogicalPath getPath(final String metadataId); static LogicalPath getPath(final String providesType,
      final String metadataIdentificationString); static boolean isValid(final String metadataClass, final String metadataId); static final String getModuleFromIdentificationString(String metadataId);  }### Answer:
@Test public void testGetLogicalPathFromMetadataInstanceId() { final LogicalPath logicalPath = PhysicalTypeIdentifierNamingUtils.getPath(METADATA_INSTANCE_ID); assertEquals(LogicalPath.getInstance(PATH, MODULE), logicalPath); }
@Test(expected = IllegalArgumentException.class) public void testGetPathFromMetadataClassId() { PhysicalTypeIdentifierNamingUtils.getPath(METADATA_CLASS_ID); }