public void WhenInitializeWalletWithRepeatedParValueCoins_ThenWalletShouldContainSumCoinsForGivenParValue( Coin[] inputCoins, Coin[] expectedCoins) { var wallet = new Wallet(inputCoins); foreach (var actualCoin in wallet.ShowCoins()) { Assert.True(expectedCoins.Count(c => c.ParValue == actualCoin.ParValue && c.Count == actualCoin.Count) == 1); } }