@Test public void testCreateNewDataStore() throws IOException { try { dsf.createNewDataStore(params); fail("Expected UnsupportedOperationException"); } catch (UnsupportedOperationException e) { assertTrue(true); } }
@Override public DataStore createNewDataStore(final Map<String, Serializable> params) throws IOException { throw new UnsupportedOperationException("Operation not applicable to a WFS service"); }
WFSDataStoreFactory extends WFSDataAccessFactory implements DataStoreFactorySpi { @Override public DataStore createNewDataStore(final Map<String, Serializable> params) throws IOException { throw new UnsupportedOperationException("Operation not applicable to a WFS service"); } }
WFSDataStoreFactory extends WFSDataAccessFactory implements DataStoreFactorySpi { @Override public DataStore createNewDataStore(final Map<String, Serializable> params) throws IOException { throw new UnsupportedOperationException("Operation not applicable to a WFS service"); }  }
WFSDataStoreFactory extends WFSDataAccessFactory implements DataStoreFactorySpi { @Override public DataStore createNewDataStore(final Map<String, Serializable> params) throws IOException { throw new UnsupportedOperationException("Operation not applicable to a WFS service"); }  @Override WFSDataStore createDataStore(final Map<String, Serializable> params); HTTPClient getHttpClient(final Map<String, Serializable> params); @Override DataStore createNewDataStore(final Map<String, Serializable> params); @Override String getDisplayName(); @Override String getDescription(); @Override boolean canProcess(@SuppressWarnings("rawtypes") final Map params); static URL createGetCapabilitiesRequest(URL host, Version version); static URL createGetCapabilitiesRequest(final URL host); boolean isAvailable(); }
WFSDataStoreFactory extends WFSDataAccessFactory implements DataStoreFactorySpi { @Override public DataStore createNewDataStore(final Map<String, Serializable> params) throws IOException { throw new UnsupportedOperationException("Operation not applicable to a WFS service"); }  @Override WFSDataStore createDataStore(final Map<String, Serializable> params); HTTPClient getHttpClient(final Map<String, Serializable> params); @Override DataStore createNewDataStore(final Map<String, Serializable> params); @Override String getDisplayName(); @Override String getDescription(); @Override boolean canProcess(@SuppressWarnings("rawtypes") final Map params); static URL createGetCapabilitiesRequest(URL host, Version version); static URL createGetCapabilitiesRequest(final URL host); boolean isAvailable();  }