public void BuildWithOnlyBondsReturnsEmptyListForGivenEmptyList()
        {
            getStocksFunc = () => emptyStockSet;
            var sut = new SummaryBuilder(getStocksFunc);

            CollectionAssert.IsEmpty(sut.WithBonds().Build());
        }
        public void BuildWithBondsReturnsCorrectSummaryModel()
        {
            getStocksFunc = SetupFund(baseTestingStockSet);

            var sut    = new SummaryBuilder(getStocksFunc);
            var result = sut.WithBonds().Build().First();

            Assert.AreEqual("Bonds", result.Name);
            Assert.AreEqual(2, result.TotalNumber);
            Assert.AreEqual(0.6m, result.TotalStockWeight);
        }