@Test public void testGetMacroCategories() throws Exception { DefaultMacroTransformationConfiguration configuration = (DefaultMacroTransformationConfiguration) getComponentManager().getInstance( MacroTransformationConfiguration.class); configuration.addCategory(new MacroId("testcontentmacro"), "Content"); configuration.addCategory(new MacroId("testsimplemacro"), "Simple"); Set<String> macroCategories = this.macroCategoryManager.getMacroCategories(); Assert.assertTrue(macroCategories.contains("Test")); Assert.assertTrue(macroCategories.contains(null)); Assert.assertTrue(macroCategories.contains("Content")); Assert.assertTrue(macroCategories.contains("Simple")); }
@Override public Set<String> getMacroCategories() throws MacroLookupException { return getMacroCategories(null); }
DefaultMacroCategoryManager implements MacroCategoryManager { @Override public Set<String> getMacroCategories() throws MacroLookupException { return getMacroCategories(null); } }
DefaultMacroCategoryManager implements MacroCategoryManager { @Override public Set<String> getMacroCategories() throws MacroLookupException { return getMacroCategories(null); }  }
DefaultMacroCategoryManager implements MacroCategoryManager { @Override public Set<String> getMacroCategories() throws MacroLookupException { return getMacroCategories(null); }  @Override Set<String> getMacroCategories(); @Override Set<String> getMacroCategories(final Syntax syntax); @Override Set<MacroId> getMacroIds(String category); @Override Set<MacroId> getMacroIds(String category, final Syntax syntax); }
DefaultMacroCategoryManager implements MacroCategoryManager { @Override public Set<String> getMacroCategories() throws MacroLookupException { return getMacroCategories(null); }  @Override Set<String> getMacroCategories(); @Override Set<String> getMacroCategories(final Syntax syntax); @Override Set<MacroId> getMacroIds(String category); @Override Set<MacroId> getMacroIds(String category, final Syntax syntax);  }