Example #1
0
        public void Clone_NotSameObject()
        {
            Person person1 = new Person(FULL_NAME, EMAIL);
            Person person2 = person1.Clone();

            Assert.AreNotSame(person1, person2);
        }
Example #2
0
        public void Clone_Equal()
        {
            Person person1 = new Person(FULL_NAME, EMAIL);
            Person person2 = person1.Clone();

            Assert.AreEqual(person1, person2);
        }