@Test public void testSetupLogoPluginExistingMapUrl() throws Exception { PropertyUtil.addProperty("oskari.map.url.en", "/map"); PropertyUtil.addProperty("oskari.map.url.fi", "/kartta"); PropertyUtil.addProperty("oskari.map.terms.url.en", "/terms"); PropertyUtil.addProperty("oskari.map.terms.url.fi", "/ehdot"); JSONObject pluginConfig = ResourceHelper.readJSONResource("LogoPluginConfig-existing-config.json", this); handler.modifyPlugin(pluginConfig, null, null); JSONTestHelper.shouldEqual(pluginConfig, ResourceHelper.readJSONResource("LogoPluginConfig-existing-config-expected.json", this)); }
@Override public boolean modifyPlugin(final JSONObject plugin, final ModifierParams params, final String mapSrs) { return setupLogoPluginConfig(plugin); }
LogoPluginHandler implements PluginHandler { @Override public boolean modifyPlugin(final JSONObject plugin, final ModifierParams params, final String mapSrs) { return setupLogoPluginConfig(plugin); } }
LogoPluginHandler implements PluginHandler { @Override public boolean modifyPlugin(final JSONObject plugin, final ModifierParams params, final String mapSrs) { return setupLogoPluginConfig(plugin); }  }
LogoPluginHandler implements PluginHandler { @Override public boolean modifyPlugin(final JSONObject plugin, final ModifierParams params, final String mapSrs) { return setupLogoPluginConfig(plugin); }  @Override boolean modifyPlugin(final JSONObject plugin,
                                final ModifierParams params,
                                final String mapSrs); }
LogoPluginHandler implements PluginHandler { @Override public boolean modifyPlugin(final JSONObject plugin, final ModifierParams params, final String mapSrs) { return setupLogoPluginConfig(plugin); }  @Override boolean modifyPlugin(final JSONObject plugin,
                                final ModifierParams params,
                                final String mapSrs); static final String PLUGIN_NAME; static final String KEY_ID; static final String KEY_CONFIG; static final String KEY_MAP_URL; static final String KEY_TERMS_URL; }