@Test public void getCategories() throws Exception { ConfigurationSource source = this.mocker.getInstance(ConfigurationSource.class); when(source.getProperty("rendering.transformation.macro.categories", Properties.class)).thenReturn( new Properties()); Properties categories = this.mocker.getComponentUnderTest().getCategories(); assertNotNull(categories); assertEquals(0, categories.size()); }
@Override public Properties getCategories() { return this.configuration.getProperty(PREFIX + "categories", Properties.class); }
XWikiMacroTransformationConfiguration implements MacroTransformationConfiguration { @Override public Properties getCategories() { return this.configuration.getProperty(PREFIX + "categories", Properties.class); } }
XWikiMacroTransformationConfiguration implements MacroTransformationConfiguration { @Override public Properties getCategories() { return this.configuration.getProperty(PREFIX + "categories", Properties.class); }  }
XWikiMacroTransformationConfiguration implements MacroTransformationConfiguration { @Override public Properties getCategories() { return this.configuration.getProperty(PREFIX + "categories", Properties.class); }  @Override Properties getCategories(); }
XWikiMacroTransformationConfiguration implements MacroTransformationConfiguration { @Override public Properties getCategories() { return this.configuration.getProperty(PREFIX + "categories", Properties.class); }  @Override Properties getCategories();  }