### Question:
XWikiMacroTransformationConfiguration implements MacroTransformationConfiguration { @Override public Properties getCategories() { return this.configuration.getProperty(PREFIX + "categories", Properties.class); }  @Override Properties getCategories();  }### Answer:
@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()); }