public void GetName_ReturnsName_SpecialityName()
        {
            Speciality newSpeciality = new Speciality("Hairmaster");
            string     result        = "Hairmaster";

            Assert.AreEqual(result, newSpeciality.GetName());
        }
예제 #2
0
        public void GetName_ReturnsName_String()
        {
            string     name          = "Cut";
            Speciality newSpeciality = new Speciality(name);
            string     result        = newSpeciality.GetName();

            Assert.AreEqual(name, result);
        }