### Question:
HCatSchemaUtils { public static HCatSchema getHCatSchemaFromTypeString(String typeString) throws HCatException { return getHCatSchema(TypeInfoUtils.getTypeInfoFromTypeString(typeString)); }  static CollectionBuilder getStructSchemaBuilder(); static CollectionBuilder getListSchemaBuilder(); static MapBuilder getMapSchemaBuilder(); static HCatFieldSchema getHCatFieldSchema(FieldSchema fs); static HCatSchema getHCatSchema(Schema schema); static HCatSchema getHCatSchema(List<? extends FieldSchema> fslist); static HCatSchema getHCatSchema(TypeInfo typeInfo); static HCatSchema getHCatSchemaFromTypeString(String typeString); static HCatSchema getHCatSchema(String schemaString); static FieldSchema getFieldSchema(HCatFieldSchema hcatFieldSchema); static List<FieldSchema> getFieldSchemas(List<HCatFieldSchema> hcatFieldSchemas);  }### Answer:
@Test public void testSimpleOperation() throws Exception { String typeString = "struct<name:string,studentid:int," + "contact:struct<phNo:string,email:string>," + "currently_registered_courses:array<string>," + "current_grades:map<string,string>," + "phNos:array<struct<phNo:string,type:string>>,blah:array<int>>"; TypeInfo ti = TypeInfoUtils.getTypeInfoFromTypeString(typeString); HCatSchema hsch = HCatSchemaUtils.getHCatSchemaFromTypeString(typeString); LOG.info("Type name : {}", ti.getTypeName()); LOG.info("HCatSchema : {}", hsch); assertEquals(hsch.size(), 1); assertEquals(ti.getTypeName().toLowerCase(), hsch.get(0).getTypeString()); assertEquals(hsch.get(0).getTypeString(), typeString.toLowerCase()); }