@Test public void getMappings() throws Exception { ConfigurationSource source = this.mocker.getInstance(ConfigurationSource.class); Properties props = new Properties(); props.setProperty("::", "test"); when(source.getProperty("rendering.transformation.icon.mappings", Properties.class)).thenReturn(props); Properties mappings = this.mocker.getComponentUnderTest().getMappings(); assertNotNull(mappings); assertTrue(mappings.size() > 1); assertEquals("test", mappings.getProperty("::")); }
@Override public Properties getMappings() { Properties props = super.getMappings(); props.putAll(this.configuration.getProperty(PREFIX + "mappings", Properties.class)); return props; }
XWikiIconTransformationConfiguration extends DefaultIconTransformationConfiguration { @Override public Properties getMappings() { Properties props = super.getMappings(); props.putAll(this.configuration.getProperty(PREFIX + "mappings", Properties.class)); return props; } }
XWikiIconTransformationConfiguration extends DefaultIconTransformationConfiguration { @Override public Properties getMappings() { Properties props = super.getMappings(); props.putAll(this.configuration.getProperty(PREFIX + "mappings", Properties.class)); return props; }  }
XWikiIconTransformationConfiguration extends DefaultIconTransformationConfiguration { @Override public Properties getMappings() { Properties props = super.getMappings(); props.putAll(this.configuration.getProperty(PREFIX + "mappings", Properties.class)); return props; }  @Override Properties getMappings(); }
XWikiIconTransformationConfiguration extends DefaultIconTransformationConfiguration { @Override public Properties getMappings() { Properties props = super.getMappings(); props.putAll(this.configuration.getProperty(PREFIX + "mappings", Properties.class)); return props; }  @Override Properties getMappings();  }