public void RemoveItem_SameName_RemoveItem()
        {
            CardItem cardItem = new CardItem {
                Name = "test 01", Count = 10
            };
            CardItemCollection cardItemCollection = new CardItemCollection {
                cardItem
            };

            cardItemCollection.RemoveItem(new CardItem {
                Name = "test 01", Count = 12
            });
            Assert.AreEqual(-1, cardItemCollection.IndexOf(cardItem));
        }
        public void RemoveItem_SameNameSubstractsCount()
        {
            CardItem cardItem = new CardItem {
                Name = "test 01", Count = 10
            };
            CardItemCollection cardItemCollection = new CardItemCollection {
                cardItem
            };

            cardItemCollection.RemoveItem(new CardItem {
                Name = "test 01", Count = 3
            });
            Assert.AreEqual(7, cardItem.Count);
        }