@Override
  protected void qualifyRequest(
      WorkspaceInfo ws, PublishedInfo l, Operation operation, Request request) {

    GetCapabilitiesType caps = parameter(operation, GetCapabilitiesType.class);
    if (caps != null) {
      return;
    }

    DescribeCoverageType dcov = parameter(operation, DescribeCoverageType.class);
    if (dcov != null) {
      qualifyLayerNames(dcov.getIdentifier(), ws);
      return;
    }

    GetCoverageType gcov = parameter(operation, GetCoverageType.class);
    if (gcov != null) {
      if (gcov.getIdentifier() != null && gcov.getIdentifier().getValue() != null) {
        gcov.getIdentifier().setValue(qualifyName(gcov.getIdentifier().getValue(), ws));
      }
    }
  }
  public void testBasic() throws Exception {
    Map<String, Object> raw = baseMap();
    final String layerId = getLayerId(TASMANIA_BM);
    raw.put("identifier", layerId);
    raw.put("format", "image/tiff");
    raw.put("BoundingBox", "-45,146,-42,147");
    raw.put("store", "false");
    raw.put("GridBaseCRS", "urn:ogc:def:crs:EPSG:6.6:4326");

    GetCoverageType getCoverage =
        (GetCoverageType) reader.read(reader.createRequest(), parseKvp(raw), raw);
    assertEquals(layerId, getCoverage.getIdentifier().getValue());
    assertEquals("image/tiff", getCoverage.getOutput().getFormat());
    assertFalse(getCoverage.getOutput().isStore());
    assertEquals(
        "urn:ogc:def:crs:EPSG:6.6:4326", getCoverage.getOutput().getGridCRS().getGridBaseCRS());
  }