public void Equals_Given_Empty_UniqueActivity_AreNotEqual()
        {
            //---------------Set up test pack-------------------
            var activity  = new DsfUniqueActivity();
            var activity1 = new DsfUniqueActivity();

            //---------------Assert Precondition----------------
            Assert.IsNotNull(activity);
            //---------------Execute Test ----------------------
            var @equals = activity.Equals(activity1);

            //---------------Test Result -----------------------
            Assert.IsFalse(@equals);
        }
        public void Equals_Given_SameResult_UniqueActivity_AreEqual()
        {
            //---------------Set up test pack-------------------
            var uniqId   = Guid.NewGuid().ToString();
            var activity = new DsfUniqueActivity()
            {
                UniqueID = uniqId, Result = ""
            };
            var activity1 = new DsfUniqueActivity()
            {
                UniqueID = uniqId, Result = ""
            };

            //---------------Assert Precondition----------------
            Assert.IsNotNull(activity);
            //---------------Execute Test ----------------------
            var @equals = activity.Equals(activity1);

            //---------------Test Result -----------------------
            Assert.IsTrue(@equals);
        }
        public void Equals_Given_DifferentInFields_UniqueActivity_AreNotEqual()
        {
            //---------------Set up test pack-------------------
            var uniqId   = Guid.NewGuid().ToString();
            var activity = new DsfUniqueActivity()
            {
                UniqueID = uniqId, InFields = "A"
            };
            var activity1 = new DsfUniqueActivity()
            {
                UniqueID = uniqId, InFields = "B"
            };

            //---------------Assert Precondition----------------
            Assert.IsNotNull(activity);
            //---------------Execute Test ----------------------
            var @equals = activity.Equals(activity1);

            //---------------Test Result -----------------------
            Assert.IsFalse(@equals);
        }