Esempio n. 1
0
        public void Test_Find_FindsDoctorInDatabase()
        {
            //Arrange
            Doctor testDoctor = new Doctor("Dr. John", "Debugging");

            testDoctor.Save();

            //Act
            Doctor foundDoctor = Doctor.Find(testDoctor.GetId());

            //Assert
            Assert.Equal(testDoctor, foundDoctor);
        }