public void testFindDefinitions() throws Exception {
DefDescriptor<StyleDef> styleDesc = definitionService.getDefDescriptor("ui.button", StyleDef.class);
assertEquals("css://ui.button", styleDesc.toString());
StyleDef styleDef = styleDesc.getDef();
assertEquals("css://ui.button", styleDef.toString());
DefDescriptor<ComponentDef> cmpDesc = definitionService.getDefDescriptor("ui:button", ComponentDef.class);
assertEquals("markup://ui:button", cmpDesc.toString());
ComponentDef componentDef = cmpDesc.getDef();
assertEquals("markup://ui:button", componentDef.toString());