creat stereotyp modelel type param factori contain creation function given metamodel element name param name metamodel element name valid stereo type object iter name object ns model model manag factori creat object clazz model core factori build ns object stereo model extens mechan factori build stereotyp clazz test ns name method method factori creat test fail fail method creat object base invok object model facad model element base object stereo model extens mechan factori build stereotyp base test ns test unexpect invalid stereotyp model extens mechan helper valid stereotyp base stereo model facad base test stereotyp base incorrectli allow metaclass model extens mechan helper valid stereotyp base stereo object inter model core factori creat object stereo model extens mechan factori build stereotyp inter test ns test unexpect invalid stereotyp model extens mechan helper valid stereotyp base stereo except ex ex print stack trace test fail except test meta modelnam correct messag ex messag 