コード例 #1
0
        public void ClearAll_ReturnEmptyList()
        {
            Speciality newSpeciality = new Speciality("Hairmaster");

            newSpeciality.Save();
            Speciality newSpeciality1 = new Speciality("Nailmaster");

            newSpeciality1.Save();
            Speciality.ClearAll();
            List <Speciality> allSpecialities = Speciality.GetAll();
            List <Speciality> result          = new List <Speciality> {
            };

            CollectionAssert.AreEqual(allSpecialities, result);
        }
コード例 #2
0
 public void Dispose()
 {
     Doctor.ClearAll();
     Patient.ClearAll();
     Speciality.ClearAll();
 }
 public void Dispose()
 {
     Stylist.ClearAll();
     Client.ClearAll();
     Speciality.ClearAll();
 }