public void InvalidPathExceptionCtor2() { InvalidPathException ex = new InvalidPathException( "path" ); ex.Message.Should().Be( "The filename, directory name, or volume label syntax is incorrect." ); ex.Path.Should().Be( "path" ); }
public void InvalidPathExceptionCtor1() { InvalidPathException ex = new InvalidPathException( "message", "path" ); ex.Message.Should().Be( "message" ); ex.Path.Should().Be( "path" ); }