Beispiel #1
0
        public async Task CanDescribeLayer(string rootUrl, string layerUrl)
        {
            var gateway       = new PortalGateway(rootUrl);
            var layerResponse = await IntegrationTestFixture.TestPolicy.ExecuteAsync(() =>
            {
                return(gateway.DescribeLayer(layerUrl.AsEndpoint()));
            });

            Assert.NotNull(layerResponse);
            Assert.Null(layerResponse.Error);
            Assert.NotNull(layerResponse.GeometryType);
        }