### Question:
PhysicalTypeIdentifier { public static JavaType getJavaType(final String physicalTypeId) { Validate.isTrue(PhysicalTypeIdentifier.isValid(physicalTypeId), "Physical type identifier is invalid"); return PhysicalTypeIdentifierNamingUtils.getJavaType(PHYSICAL_METADATA_TYPE, physicalTypeId); } private  PhysicalTypeIdentifier(); static String createIdentifier(final JavaType javaType, final LogicalPath path); static String createIdentifier(ClassOrInterfaceTypeDetails details); static String getFriendlyName(final String metadataId); static JavaType getJavaType(final String physicalTypeId); static String getMetadataIdentiferType(); static LogicalPath getPath(final String metadataId); static boolean isValid(final String metadataIdentificationString); static final String PHYSICAL_METADATA_TYPE_ID; }### Answer:
@Test public void testGetJavaType() { final String metadataId = "MID:" + PhysicalTypeIdentifier.class.getName() + "#" + Path.SRC_MAIN_JAVA + "?" + USER_PROJECT_TYPE; final JavaType javaType = PhysicalTypeIdentifier.getJavaType(metadataId); assertEquals(USER_PROJECT_TYPE, javaType.getFullyQualifiedTypeName()); }