Ejemplo n.º 1
0
        public void AllowedDestinations_ValidDestinations_SetsDestinations()
        {
            var destinations = new[] { "https://www.nwebsec.com/", "http://klings.org:81/SomePath" };

            _options.AllowedDestinations(destinations);

            Assert.True(destinations.SequenceEqual(_options.AllowedUris), String.Join(" ", destinations) + " / " + String.Join(" ", _options.AllowedUris));
        }