### Question:
XWikiRenderingConfiguration implements RenderingConfiguration { @Override public List<String> getTransformationNames() { return this.configuration.getProperty(PREFIX + "transformations", Arrays.asList("macro", "icon")); }  @Override String getLinkLabelFormat(); @Override Properties getInterWikiDefinitions(); @Override List<String> getTransformationNames();  }### Answer:
@Test void getTransformationNames() { when(this.source.getProperty("rendering.transformations", Arrays.asList("macro", "icon"))).thenReturn( Arrays.asList("mytransformation")); List<String> txs = this.configuration.getTransformationNames(); assertEquals(1, txs.size()); assertEquals("mytransformation", txs.get(0)); }