Headless.UnitTests.RelaxedFolderLocationValidatorTests.MatchesLocationReturnsTrueWhenIgnoringQueryStringTest C# (CSharp) Method

MatchesLocationReturnsTrueWhenIgnoringQueryStringTest() private method

        public void MatchesLocationReturnsTrueWhenIgnoringQueryStringTest()
        {
            var expectedLocation = new Uri("http://www.test.com/some/time/");
            var target = new RelaxedFolderLocationValidator();
            var actualLocation = new Uri("http://www.test.com/some/time/?stuff=true");

            var actual = target.Matches(actualLocation, expectedLocation);

            actual.Should().BeTrue();
        }