use of org.n52.svalbard.encode.DescribeSensorResponseEncoder in project arctic-sea by 52North.
the class DescribeSensorResponseEncoderTest method should_return_correct_schema_location.
@Test
public void should_return_correct_schema_location() {
assertThat(new DescribeSensorResponseEncoder().getSchemaLocations().size(), is(1));
SchemaLocation schemLoc = new DescribeSensorResponseEncoder().getSchemaLocations().iterator().next();
assertThat(schemLoc.getNamespace(), is("http://www.opengis.net/swes/2.0"));
assertThat(schemLoc.getSchemaFileUrl(), is("http://schemas.opengis.net/swes/2.0/swes.xsd"));
}
Aggregations