//Test for scenario when all data is deleted public void Task_Doctor_deleteData_All() { //Arrange List <DoctorEntity> db1 = InitialSeed.doctorSeed1(); //Act List <DoctorEntity> db2 = DAL.deleteData(db1); //Assert Assert.Empty(db2); }
public void Task_Doctor_insertData() { //Arrange List <DoctorEntity> db = InitialSeed.doctorSeed(); List <DoctorEntity> db1 = InitialSeed.doctorSeed1(); DoctorEntity de = InitialSeed.doctorSeed2(); //Act List <DoctorEntity> db2 = DAL.insertData(db, de); //Assert Assert.NotEqual(db1, db2); }