Appccelerate.IO.AbsoluteFilePathTest.ThrowsException_WhenPathIsNotAbsolute C# (CSharp) Method

ThrowsException_WhenPathIsNotAbsolute() private method

private ThrowsException_WhenPathIsNotAbsolute ( ) : void
return void
        public void ThrowsException_WhenPathIsNotAbsolute()
        {
            Action action = () => new AbsoluteFilePath(@".\file");

            action.ShouldThrow<ArgumentException>();
        }