AWSSDK_DotNet.IntegrationTests.Tests.AWSPublicIpAddressRangesTests.TestQueryByRegion C# (CSharp) Method

TestQueryByRegion() private method

private TestQueryByRegion ( ) : void
return void
        public void TestQueryByRegion()
        {
            var ranges = AWSPublicIpAddressRanges.Load();

            var uswest1Ranges = ranges.AddressRangesByRegion("us-west-1");
            Assert.IsTrue(uswest1Ranges.Any());

            var globalRanges = ranges.AddressRangesByRegion(AWSPublicIpAddressRanges.GlobalRegionIdentifier);
            Assert.IsTrue(globalRanges.Any());
        }
    }