public void TestCaseOne() { Discover discover = new Discover(100m); MasterCard mastercard = new MasterCard(100m); Visa visa = new Visa(100m); WalletType wallet = new WalletType(); wallet.AddCard(discover) .AddCard(mastercard) .AddCard(visa); WalletPerson person = new WalletPerson(); person.AddWallet(wallet); Assert.Equal(1m, discover.CalculateTotalInterest()); Assert.Equal(5m, mastercard.CalculateTotalInterest()); Assert.Equal(10m, visa.CalculateTotalInterest()); Assert.Equal(16m, person.CalculateTotalInterest()); }