@Test
public void testReadFeatureCollectionFromJsonString() throws
                                                      Exception {

    // given a JSON FeatureCollection
    final String json = TestHelper.getFixture("featurecollection.json");
    // when read the JSON as FeatureCollection
    final FeatureCollection featureCollection = geoJsonReader.readFeatureCollection(json);
    // then
    assertNotNull(featureCollection);
    assertEquals("FeatureCollection",
                 featureCollection.getType());
    assertFalse(featureCollection.isEmpty());
    assertTrue(featureCollection.hasFeature("id1"));
    assertTrue(featureCollection.hasFeature("id2"));
    assertTrue(featureCollection.hasFeature("id3"));
    assertTrue(featureCollection.hasFeature("id4"));
    assertTrue(featureCollection.hasFeature("id5"));
}