@Test
public void tesGetFeatureReader() throws IOException {

    final InputStream dataStream = TestData.openStream(this, CUBEWERX_GOVUNITCE.DATA);
    TestHttpResponse httpResponse = new TestHttpResponse("text/xml; subtype=gml/3.1.1",
            "UTF-8", dataStream);
    TestHttpProtocol mockHttp = new TestHttpProtocol(httpResponse);
    createTestProtocol(CUBEWERX_GOVUNITCE.CAPABILITIES, mockHttp);
    // override the describe feature type url so it loads from the test resource
    URL describeUrl = TestData.getResource(this, CUBEWERX_GOVUNITCE.SCHEMA);
    wfs.setDescribeFeatureTypeURLOverride(describeUrl);
    WFS_1_1_0_DataStore ds = new WFS_1_1_0_DataStore(wfs);
    Query query = new Query(CUBEWERX_GOVUNITCE.FEATURETYPENAME);
    FeatureReader<SimpleFeatureType, SimpleFeature> featureReader;
    featureReader = ds.getFeatureReader(query, Transaction.AUTO_COMMIT);
    assertNotNull(featureReader);
    // test data file contains three features...
    assertTrue(featureReader.hasNext());
    assertNotNull(featureReader.next());
    assertTrue(featureReader.hasNext());
    assertNotNull(featureReader.next());
    assertTrue(featureReader.hasNext());
    assertNotNull(featureReader.next());
    assertFalse(featureReader.hasNext());
}