NoSuchAuthorityCodeException, FactoryException {
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);