Search in sources :

Example 1 with ProcedureDescription

use of net.opengis.swes.x20.InsertSensorType.ProcedureDescription in project arctic-sea by 52North.

the class InsertSensorRequestEncoderTest method shouldEncodeProcedureDescription.

@Test
public void shouldEncodeProcedureDescription() throws EncodingException {
    InsertSensorDocument isd = (InsertSensorDocument) encoder.create(request);
    ProcedureDescription description = isd.getInsertSensor().getProcedureDescription();
    Assert.assertThat(description, CoreMatchers.notNullValue());
    Assert.assertThat(description, CoreMatchers.instanceOf(ProcedureDescription.class));
}
Also used : InsertSensorDocument(net.opengis.swes.x20.InsertSensorDocument) SosProcedureDescription(org.n52.shetland.ogc.sos.SosProcedureDescription) ProcedureDescription(net.opengis.swes.x20.InsertSensorType.ProcedureDescription) Test(org.junit.Test)

Aggregations

InsertSensorDocument (net.opengis.swes.x20.InsertSensorDocument)1 ProcedureDescription (net.opengis.swes.x20.InsertSensorType.ProcedureDescription)1 Test (org.junit.Test)1 SosProcedureDescription (org.n52.shetland.ogc.sos.SosProcedureDescription)1