public void Test_DeleteProfessor() { var data = new EfData(); var id = data.GetTopP(); var expected = db.Professors.Where(x => x.ProfessorID == id).FirstOrDefault(); var actual = data.DeleteProfessor(expected, id); Assert.True(actual); }