WMTSClient extends AbstractOWSClient<WMTSCapabilitiesAdapter> { public List<Layer> getLayers() throws XMLStreamException { if ( layers == null ) { initLayerInformation(); } return layers; } WMTSClient( URL capaUrl, OwsHttpClient httpClient ); List<Layer> getLayers(); Layer getLayer( String layerId ); List<TileMatrixSet> getTileMatrixSets(); TileMatrixSet getTileMatrixSet( String tileMatrixSetId ); GetTileResponse getTile( GetTile request ); GetFeatureInfoResponse getFeatureInfo( GetFeatureInfo request );  }
@Test public void testGetLayers() throws XMLStreamException { List<Layer> clientLayers = client.getLayers(); Assert.assertNotNull( clientLayers ); }