@Test
public void testSetupLogoPluginExistingMapUrl() throws Exception {

    // provide properties
    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");
    // this provides existing mapurl
    JSONObject pluginConfig = ResourceHelper.readJSONResource("LogoPluginConfig-existing-config.json", this);
    handler.modifyPlugin(pluginConfig, null,  null);
    // check that only terms url has been updated
    JSONTestHelper.shouldEqual(pluginConfig, ResourceHelper.readJSONResource("LogoPluginConfig-existing-config-expected.json", this));
}