public void T7_DeleteOne() { //Arrange DateTime Date1 = new DateTime(2016, 08, 01); Student student1 = new Student("Jon", "Jone", "*****@*****.**", "/img/jon.jpg", Date1); student1.Save(); Student student2 = new Student("Jonny", "Jone", "*****@*****.**", "/img/jonny.jpg", Date1); student2.Save(); //Act student2.DeleteOne(); List <Student> result = Student.GetAll(); List <Student> test = new List <Student> { student1 }; //Assert Assert.Equal(test, result); }