Package org.growersnation.site.model.soil.texture

Examples of org.growersnation.site.model.soil.texture.FeatureInfoResponse


  @Test
  public void testJAXB() {

    InputStream is = SoilTextureDaoTest.class.getResourceAsStream("/fixtures/soil/texture/test-bgs-texture-clay-1.xml");
    FeatureInfoResponse fir = JAXB.unmarshal(is, FeatureInfoResponse.class);

    assertEquals(2,fir.getFields().size());

    SoilTextureFields fields = fir.getFields().get(0);

    assertEquals("Polygon",fields.getShape());

  }
View Full Code Here

TOP

Related Classes of org.growersnation.site.model.soil.texture.FeatureInfoResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.