public void RemoveBankInfoItem() { exchangeRate.RemoveBankInfo(exchangeRateItem.ID); //remove bankinfo from collection int expected = 0; //expected items count int actual = exchangeRate.BanksInfo.Count; //actual items count Assert.AreEqual(expected, actual); }