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

MatchesLocationThrowsExceptionWithNullActualLocationTest() private method

        public void MatchesLocationThrowsExceptionWithNullActualLocationTest()
        {
            var actualLocation = new Uri("http://www.test.com/some/time");

            var target = new RelaxedFolderLocationValidator();

            Action action = () => target.Matches(actualLocation, (Uri)null);

            action.ShouldThrow<ArgumentNullException>();
        }