@Test public void testGenerateDocumentedDomain() { Domain dom = MVCoreFactoryImpl.eINSTANCE.createDomain(); dom.setName("Person"); Documentation doc = MVCoreFactoryImpl.eINSTANCE.createDocumentation(); doc.setValue("heipådeg"); dom.getDocumentation().add(doc); GrailsGenerator gen = new GrailsGenerator(); String s = gen.buildEDomainClass(dom, "test"); System.out.println(s); assertTrue(s.contains("heipådeg")); }