BloomTests.Book.BookCollectionTests.InsertBook_NotPresent_InsertsInEmptyList C# (CSharp) Method

InsertBook_NotPresent_InsertsInEmptyList() private method

private InsertBook_NotPresent_InsertsInEmptyList ( ) : void
return void
        public void InsertBook_NotPresent_InsertsInEmptyList()
        {
            var infoNew = new BookInfo("book11", true);
            var state = new List<BookInfo>();
            var collection = new BookCollection(state);
            collection.InsertBookInfo(infoNew);
            Assert.That(state[0], Is.EqualTo(infoNew), "book info should be inserted between book10 and book20");
        }