public void testAdd() { //Arrange int count = repo.All().Count(); // Act this.repo.Add(entity); this.repo.SaveChanges(); // Assert Assert.NotNull(repo.GetByDetails(22, "ס")); this.repo.HardDelete(entity); this.repo.SaveChanges(); }