public void TestAccuracyProcessRegistryExceptionConstructor3()
        {
            Exception ex = new Exception("Inner Exception Message");
            ProcessRegistryException excp =
                new ProcessRegistryException("Error Message", ex);

            Assert.AreEqual(excp.Message, "Error Message", "Exception message has wrong value");
            Assert.AreEqual(excp.InnerException, ex, "Inner exception has wrong value");
            Assert.AreEqual(excp.InnerException.Message, "Inner Exception Message",
                            "Inner exception message has wrong value");
        }
        public void TestAccuracyProcessRegistryExceptionConstructor2()
        {
            ProcessRegistryException excp = new ProcessRegistryException("Error Message");

            Assert.AreEqual(excp.Message, "Error Message", "Exception message has wrong value");
        }
 public void TestAccuracyProcessRegistryExceptionConstructor1()
 {
     ProcessRegistryException excp = new ProcessRegistryException();
 }