public void ShouldCorrectlyReturnNextStockName() { _fund.StockList.Add(new Equity()); _fund.StockList.Add(new Equity()); _fund.StockList.Add(new Bond()); _fund.StockList.Add(new Equity()); Assert.AreEqual("Equity4", _fund.GetNextStockName(StockType.Equity)); Assert.AreEqual("Bond2", _fund.GetNextStockName(StockType.Bond)); }