private MatchesLocationThrowsExceptionWithRelativeExpectedLocationTest ( ) : void | ||
return | void |
public void MatchesLocationThrowsExceptionWithRelativeExpectedLocationTest()
{
var actualLocation = new Uri("http://www.test.com/some/time");
var expectedLocation = new Uri("/some/Time", UriKind.Relative);
var target = new RelaxedFolderLocationValidator();
Action action = () => target.Matches(actualLocation, expectedLocation);
action.ShouldThrow<ArgumentException>();
}