@Test
public void buildRegisterSensor_should_set_procedure_description() throws XmlException, OXFException {

    createParamConWithMandatoryInsertSensorValues();
    parameters.addParameterShell(REGISTER_SENSOR_OBSERVED_PROPERTY_PARAMETER,
            TEST_OBSERVABLE_PROPERTY_1);
    final String registerSensor = builder.buildRegisterSensorRequest(parameters);
    final InsertSensorType insertSensorType = InsertSensorDocument.Factory.parse(registerSensor).getInsertSensor();
    final String identifierFromRequestBuilder = SystemType.Factory.parse(
            SensorMLDocument.Factory.parse(insertSensorType.getProcedureDescription().toString())
                    .getSensorML()
                    .getMemberArray(0)
                    .getProcess().xmlText()
                    )
                    .getIdentificationArray(0)
                    .getIdentifierList()
                    .getIdentifierArray(0)
                    .getTerm()
                    .getValue();
    assertThat(identifierFromRequestBuilder,is(SENSOR_IDENTIFIER));
}