예제 #1
0
        public void TestPersonMethod()
        {
            Person myList = obj.GetPerson();
            Person per    = new Person {
                Name = "Person1", Gender = "Male"
            };

            //Assert.AreEqual(per.Name, myList.Name);
            //Assert.AreEqual(per.Gender, myList.Gender);
            AssertionHelper.Equals(myList, per);
            //Assert.That(myList.Name, Is.EqualTo(per.Name));
        }