public void TestsConstructorWithAMessageAndException()
 {
     Exception innerException = new Exception();
     ResourceNotFoundException exception = new ResourceNotFoundException("message", innerException);
     Assert.AreSame("message", exception.Message);
     Assert.AreSame(innerException, exception.InnerException);
 }
        public void TestsConstructorWithAMessageAndUri()
        {
            Uri uri = new Uri("http://www.microsoft.com");

            ResourceNotFoundException exception = new ResourceNotFoundException("message", uri);
            Assert.AreSame("message", exception.Message);
            Assert.AreSame(uri, exception.Uri);
        }
 public void TestsConstructorWithAMessage()
 {
     ResourceNotFoundException exception = new ResourceNotFoundException("message");
     Assert.AreSame("message", exception.Message);
 }