@Test
public void testReadFeatureAsLineString() throws
                                          Exception {

    // given a JSON Feature as LineString
    final StringReader reader = new StringReader(TestHelper.getFixture("feature_linestring.json"));
    // when read the JSON as Feature
    final Feature feature = geoJsonReader.readFeature(reader);
    // then
    assertNotNull(feature);
    assertEquals("id1",
                 feature.getId());
    assertEquals("Feature",
                 feature.getType());
    assertNotNull(feature.getGeometry());
    assertEquals(createLineString(gf,
                                  createCoordinate(gf,
                                                   47.2256258d,
                                                   -1.5545135d),
                                  createCoordinate(gf,
                                                   47.225136d,
                                                   -1.553913d)),
                 feature.getGeometry());
}