public void AddGetAllCardTest() { Assert.AreEqual(3, service.GetAllCreditCards().Count()); service.AddCreditCard(creditCard); Assert.AreEqual(4, service.GetAllCreditCards().Count()); Assert.AreEqual(creditCard.CreditCardID, service.GetAllCreditCards().Last().CreditCardID); }
public void AddCard(CardModel card) { service.AddCreditCard(card); }
public void AddCard(Model card) { service.AddCreditCard((ICreditCard)card); }