Exemplo n.º 1
0
 public void PathNotFoundExceptionCtor2()
 {
     PathNotFoundException ex = new PathNotFoundException( "path" );
     ex.Message.Should().Be( "The system cannot find the path specified" );
     ex.Path.Should().Be( "path" );
 }
Exemplo n.º 2
0
 public void PathNotFoundExceptionCtor1()
 {
     PathNotFoundException ex = new PathNotFoundException( "message", "path" );
     ex.Message.Should().Be( "message" );
     ex.Path.Should().Be( "path" );
 }