WFSClient extends AbstractOpenWebService<WFSGetCapabilities, QName> { @Override public WFSServiceInfo getInfo() { return (WFSServiceInfo) super.getInfo(); } WFSClient(URL capabilitiesURL, HTTPClient httpClient, WFSConfig config);  WFSClient(URL capabilitiesURL, HTTPClient httpClient, WFSConfig config,
            WFSGetCapabilities capabilities); @Override WFSGetCapabilities getCapabilities(); @Override WFSServiceInfo getInfo(); Set<QName> getRemoteTypeNames(); boolean supportsTransaction(QName typeName); boolean canLimit(); boolean canFilter(); boolean canRetype(); boolean canSort(); boolean supportsStoredQueries(); ReferencedEnvelope getBounds(QName typeName, CoordinateReferenceSystem targetCrs); boolean canCount(); GetFeatureRequest createGetFeatureRequest(); @Override GetCapabilitiesResponse issueRequest(GetCapabilitiesRequest request); ListStoredQueriesResponse issueRequest(ListStoredQueriesRequest request); DescribeStoredQueriesResponse issueRequest(DescribeStoredQueriesRequest request); TransactionRequest createTransaction(); TransactionResponse issueTransaction(TransactionRequest request); GetFeatureResponse issueRequest(GetFeatureRequest request); DescribeFeatureTypeRequest createDescribeFeatureTypeRequest(); ListStoredQueriesRequest createListStoredQueriesRequest(); DescribeStoredQueriesRequest createDescribeStoredQueriesRequest(); DescribeFeatureTypeResponse issueRequest(DescribeFeatureTypeRequest request); Filter[] splitFilters(QName typeName, Filter filter); CoordinateReferenceSystem getDefaultCRS(QName typeName); String getAxisOrderFilter();  }
@Test public void testGetInfo() throws Exception { WFSClient client = newClient("GeoServer_1.7.x/1.1.0/GetCapabilities.xml"); WFSServiceInfo info = client.getInfo(); assertEquals("My GeoServer WFS", info.getTitle()); assertEquals("1.1.0", info.getVersion()); assertEquals(3, info.getKeywords().size()); assertTrue(info.getKeywords().contains("GEOSERVER")); assertTrue(info.getKeywords().contains("WFS")); assertTrue(info.getKeywords().contains("WMS")); assertEquals("http: assertEquals("http: assertEquals("\n\t\t\tThis is a description of your Web Feature Server." + "\n\n\t\t\tThe GeoServer is a full transactional Web Feature Server, you may wish to limit GeoServer to a Basic service" + "\n\t\t\tlevel to prevent modificaiton of your geographic data." + "\n\t\t", info.getDescription()); }