public void D_Delete() { a = new Project.Data.Repository(db); int id = 0; foreach (var i in a.GetPersons()) { id = i.Id; } unitTest = new Project.Domain.Person(); a.DeletePerson(id); Assert.Pass(); }