Esempio n. 1
0
        public void Employee_Full_Name()
        {
            TestEmployee myEmployee = new TestEmployee("Sara", "Benett");
            string       fullname   = myEmployee.ReturnFullName();

            StringAssert.Equals(fullname, "Sara Benett");
        }
Esempio n. 2
0
        public void Employee_Full_Name_Sorting()
        {
            TestEmployee myEmployee = new TestEmployee("Sara", "Benett");
            string       fullname   = myEmployee.ReturnFullNameForSortingPurposes();

            StringAssert.Equals(fullname, "Benett, Sara");
        }