@Test public void testLayoutTypeRegistration() { LayoutTypeDefinition layoutTypeDef = service.getLayoutTypeDefinition("testCategory", "myLayoutType"); assertNotNull(layoutTypeDef); assertEquals("myLayoutType", layoutTypeDef.getName()); }
@Test public void testLayoutTypeAliases() { LayoutTypeDefinition testLayoutType = service.getLayoutTypeDefinition("testCategory", "myLayoutType"); assertNotNull(testLayoutType); assertEquals("myLayoutType", testLayoutType.getName()); LayoutTypeDefinition oldTestLayoutType = service.getLayoutTypeDefinition("testCategory", "myLayoutTypeAlias"); assertNotNull(oldTestLayoutType); assertEquals("myLayoutType", oldTestLayoutType.getName()); }