/** Checks, whether the mandatory parameters were applied correctly. */
  @Test
  public void testApplyingAndGettingMandatoryParameters() {
    GetFeatureOfInterestParameterBuilder_v100 gfpb =
        new GetFeatureOfInterestParameterBuilder_v100(
            "identification", ISOSRequestBuilder.GET_FOI_ID_PARAMETER);

    HashMap<String, String> hm = (HashMap<String, String>) gfpb.getParameters();
    String parMan_01 = hm.get(ISOSRequestBuilder.GET_FOI_ID_PARAMETER);

    assertEquals("identification", parMan_01);
  }
  /** Checks, whether the optional parameters were applied correctly. */
  @Test
  public void testApplyingAndGettingOptionalParameters() {
    GetFeatureOfInterestParameterBuilder_v100 gfpb =
        new GetFeatureOfInterestParameterBuilder_v100(
            "identification", ISOSRequestBuilder.GET_FOI_ID_PARAMETER);

    HashMap<String, String> hm = (HashMap<String, String>) gfpb.getParameters();

    assertNull(hm.get(ISOSRequestBuilder.GET_FOI_EVENT_TIME_PARAMETER));

    gfpb.addEventTime("eventTimeOld");
    gfpb.addEventTime("eventTime");

    String parOpt_01 = hm.get(ISOSRequestBuilder.GET_FOI_EVENT_TIME_PARAMETER);

    assertEquals("eventTime", parOpt_01);
  }