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));
}
Aggregations