예제 #1
0
 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" );
 }
예제 #2
0
 public void InvalidPathExceptionCtor1()
 {
     InvalidPathException ex = new InvalidPathException( "message", "path" );
     ex.Message.Should().Be( "message" );
     ex.Path.Should().Be( "path" );
 }