@Test
public void testApplyingAndGettingMandatoryParameters() {

    final ObservationBuilder observationBuilder = ObservationBuilder.createObservationForTypeText();
    final InsertObservationParameters iospb = new InsertObservationParameters("assignedSensorId", observationBuilder);
    final HashMap<String, String> hm = (HashMap<String, String>) iospb.getParameters();
    final String parMan_01 = hm.get(INSERT_OBSERVATION_PROCEDURE_PARAMETER);
    final String parMan_02 = hm.get(INSERT_OBSERVATION_TYPE);
    assertEquals("assignedSensorId", parMan_01);
    assertEquals(INSERT_OBSERVATION_TYPE_TEXT, parMan_02);
}