public void CreateUndo_NewAndOldMustBeRev()
        {
            var info = new ConfigurationChangeInfo
            {
                New = "a",
                Old = "b"
            };
            var ud = ConfigurationChangeInfoExtensions.CreateUndo(info);

            Assert.AreEqual("a", ud.Old);
            Assert.AreEqual("b", ud.New);
        }
 public void GivenNullInit_MustThrowException()
 {
     Assert.ThrowsException <ArgumentNullException>(() => ConfigurationChangeInfoExtensions.CreateUndo(null));
     Assert.ThrowsException <ArgumentNullException>(() => ConfigurationChangeInfoExtensions.Undo(null));
 }