@Test
  public void testMergeableParams() throws Exception {
    final AbstractWMXLayerParams params = new TestParams();
    assertEquals(0, params.getMergeableParams().size());
    params.customParams = AbstractMapfishSpringTest.parseJSONObjectFromString(CUSTOM_PARAMS);

    final Multimap<String, String> paramMap = params.getCustomParams();

    assertCorrectParamsInMap(paramMap);
  }
  @Test(expected = IllegalFileAccessException.class)
  public void testGeoIllegalFileUrl() throws Exception {
    final File file =
        AbstractMapfishSpringTest.getFile(
            CreateMapProcessorFlexibleScaleAndCenterGeoTiffTest.class,
            CreateMapProcessorFlexibleScaleAndCenterGeoTiffTest.BASE_DIR + "sampleGeoTiff.tif");
    final Configuration configuration = new Configuration();
    configuration.setConfigurationFile(File.createTempFile("xyz", ".yaml"));

    Template template = new Template();
    template.setConfiguration(configuration);

    GeotiffLayer.GeotiffParam param = new GeotiffLayer.GeotiffParam();
    param.url = file.toURI().toURL().toString();
    new GeotiffLayer.Plugin().parse(template, param);
  }