예제 #1
0
        public void Clone_Successful()
        {
            Mood mood  = CreateDefaultMood();
            Mood mood2 = mood.Clone();

            Assert.AreNotSame(mood, mood2);

            Assert.AreEqual(mood.ID, mood2.ID);
            Assert.AreEqual(mood.Name, mood2.Name);
            Assert.AreEqual(mood.PrivateMarks, mood2.PrivateMarks);
            Assert.AreEqual(mood.Description, mood2.Description);
            Assert.AreEqual(mood.Comments, mood2.Comments);
        }