BloomTests.web.BloomServerTests.GetStoreCollections C# (CSharp) Method

GetStoreCollections() public method

public GetStoreCollections ( ) : IEnumerable
return IEnumerable
        public virtual IEnumerable<BookCollection> GetStoreCollections()
        {
            Mock<BookCollection> c = new Mock<BookCollection>();
            c.Setup(x => x.Name).Returns("alpha");
            c.Setup(x => x.GetBookInfos()).Returns(_bookInfoList);
            yield return c.Object;
            Mock<BookCollection> b = new Mock<BookCollection>();
            b.Setup(x => x.Name).Returns("beta");
            b.Setup(x => x.GetBookInfos()).Returns(_bookInfoList);
            yield return b.Object;
        }