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

AddBook() private method

private AddBook ( string id, string title ) : void
id string
title string
return void
        private void AddBook(string id, string title)
        {
            var b = new Mock<BookInfo>();
            b.SetupGet(x => x.Id).Returns(id);
            b.SetupGet(x => x.QuickTitleUserDisplay).Returns(title);
            b.SetupGet(x => x.FolderPath).Returns(Path.GetTempPath);//TODO. this works at the moment, cause we just need some folder which exists
            _bookInfoList.Add(b.Object);
        }