public void Valid_KidDataAccess_Delete_deleteKid() { // Arrange var deleteId = _integrationDelete; var deleteKid = new KidDataAccess(); // Act var result = deleteKid.Delete(deleteId); // Assert Assert.AreEqual(true, result, "We should have Deleted the Record"); }
public void InValidKidID_KidDataAccess_Delete_deleteKid() { // Arrange var deleteId = 999; var deleteKid = new KidDataAccess(); // Act var result = deleteKid.Delete(deleteId); // Assert }
public void EmptyRecord_KidDataAccess_Delete_ThrowError() { // Arrange var deleteID = 0; var addKid = new KidDataAccess(); // Act // Assert Assert.Throws<ArgumentException>(() => addKid.Delete(deleteID)); }