@Test
public void testReadFeaturesFromMissingFile() throws
                                              Exception {

    // given a missing file to read
    final File wkt = getFixtureAsFile("");
    // when trying to parse this wrong file as WKT
    new WKTFileReader().readFeatures(wkt,
                                     onWKTFileReaderListener);
    // then
    verify(onWKTFileReaderListener).onError(any(Throwable.class));
    verify(onWKTFileReaderListener,
           never()).onStart(anyInt());
    verify(onWKTFileReaderListener,
           never()).onProgress(anyInt(),
                               anyInt(),
                               any(Feature.class));
    verify(onWKTFileReaderListener,
           never()).onFinish(any(FeatureCollection.class));
}