@Test
public void testReadFeatures() throws
                               Exception {

    // given a WKT file to read
    final String wkt = getFixture("features.wkt");
    // when parsing this file as WKT
    final List<Feature> features = new WKTReader().readFeatures(new StringReader(wkt));
    // then
    assertNotNull(features);
    assertEquals(3,
                 features.size());
    assertEquals("69",
                 features.get(0)
                         .getId());
    assertNotNull(features.get(0)
                          .getGeometry());
    assertEquals("Polygon",
                 features.get(0)
                         .getGeometry()
                         .getGeometryType());
    assertEquals("19",
                 features.get(1)
                         .getId());
    assertNotNull(features.get(1)
                          .getGeometry());
    assertEquals("Polygon",
                 features.get(1)
                         .getGeometry()
                         .getGeometryType());
    assertEquals("146",
                 features.get(2)
                         .getId());
    assertNotNull(features.get(2)
                          .getGeometry());
    assertEquals("Polygon",
                 features.get(2)
                         .getGeometry()
                         .getGeometryType());
}