### Question:
GeoServerRestClient { public GeoServerConfig getConfig() { return config; } private  GeoServerRestClient(final GeoServerConfig config, final Console console); private  GeoServerRestClient(
      final GeoServerConfig config,
      final WebTarget webTarget,
      final Console console); static GeoServerRestClient getInstance(
      final GeoServerConfig config,
      final Console console); void setWebTarget(final WebTarget webTarget); static void invalidateInstance(); GeoServerConfig getConfig(); Response addLayer(
      final String workspaceName,
      final String storeName,
      final String adapterId,
      final String defaultStyle); boolean workspaceExists(String workspace); Response getWorkspaces(); Response addWorkspace(final String workspace); Response deleteWorkspace(final String workspace); Response getDatastore(
      final String workspaceName,
      final String datastoreName,
      final boolean quietOnNotFound); Response getDatastores(final String workspaceName); Response addDatastore(
      final String workspaceName,
      String datastoreName,
      final String gwStoreName); Response deleteDatastore(final String workspaceName, final String datastoreName); Response getFeatureLayer(final String layerName, final boolean quietOnNotFound); Response getFeatureLayers(
      final String workspaceName,
      final String datastoreName,
      final boolean geowaveOnly); Response addFeatureLayer(
      final String workspaceName,
      final String datastoreName,
      final String layerName,
      final String defaultStyle); Response deleteFeatureLayer(final String layerName); Response setLayerStyle(final String layerName, final String styleName); Response getStyle(
      @PathParam("styleName") final String styleName,
      final boolean quietOnNotFound); Response getStyles(); Response addStyle(final String styleName, final InputStream fileInStream); Response deleteStyle(final String styleName); Response getCoverageStore(
      final String workspaceName,
      final String coverageName,
      final boolean quietOnNotFound); Response getCoverageStores(final String workspaceName); Response addCoverageStore(
      final String workspaceName,
      String cvgStoreName,
      final String gwStoreName,
      final Boolean equalizeHistogramOverride,
      final String interpolationOverride,
      final Boolean scaleTo8Bit); Response deleteCoverageStore(final String workspaceName, final String cvgstoreName); Response getCoverages(final String workspaceName, final String cvsstoreName); Response getCoverage(
      final String workspaceName,
      final String cvgStoreName,
      final String coverageName,
      final boolean quietOnNotFound); Response addCoverage(
      final String workspaceName,
      final String cvgStoreName,
      final String coverageName); Response deleteCoverage(
      final String workspaceName,
      final String cvgstoreName,
      final String coverageName); DataStorePluginOptions getStorePlugin(final String storeName); ArrayList<String> getStoreAdapters(final String storeName, final String adapterId);  }### Answer:
@Test public void testGetConfig() { final GeoServerConfig returnedConfig = client.getConfig(); Assert.assertEquals(config, returnedConfig); }