@Test public void getAliasSuffix() throws Exception { when(configuration.getProperty("wiki.alias.suffix", "")).thenReturn("xwiki.org"); assertEquals("xwiki.org", mocker.getComponentUnderTest().getAliasSuffix()); when(configuration.getProperty("wiki.alias.suffix", "")).thenReturn("blabla.org"); assertEquals("blabla.org", mocker.getComponentUnderTest().getAliasSuffix()); }
@Override public String getAliasSuffix() { return configuration.getProperty(PREFIX + "alias.suffix", ""); }
DefaultWikiConfiguration implements WikiConfiguration { @Override public String getAliasSuffix() { return configuration.getProperty(PREFIX + "alias.suffix", ""); } }
DefaultWikiConfiguration implements WikiConfiguration { @Override public String getAliasSuffix() { return configuration.getProperty(PREFIX + "alias.suffix", ""); }  }
DefaultWikiConfiguration implements WikiConfiguration { @Override public String getAliasSuffix() { return configuration.getProperty(PREFIX + "alias.suffix", ""); }  @Override String getAliasSuffix(); }
DefaultWikiConfiguration implements WikiConfiguration { @Override public String getAliasSuffix() { return configuration.getProperty(PREFIX + "alias.suffix", ""); }  @Override String getAliasSuffix();  }