Inheritance: IBookStore
 public void TestProcessBook()
 {
     FakeBookStore bookStore = new FakeBookStore();
     BookDetailLookup.ProcessBook(bookStore, 3);
     Assert.Equal(3, bookStore.UpdatedBook.Id);
     Assert.Equal("Test-Driven JavaScript Development", bookStore.UpdatedBook.Title);
     Assert.Equal("Christian Johansen", bookStore.UpdatedBook.Author);
 }
        public void TestProcessBook()
        {
            FakeBookStore    bookStore        = new FakeBookStore();
            BookDetailLookup bookDetailLookup = NewBookDetailLookup();

            bookDetailLookup.ProcessBook(bookStore, 3);
            Assert.Equal(3, bookStore.UpdatedBook.Id);
            Assert.Contains("JavaScript", bookStore.UpdatedBook.Title);
        }
        public void TestProcessBook()
        {
            FakeBookStore    bookStore        = new FakeBookStore();
            BookDetailLookup bookDetailLookup = NewBookDetailLookup();

            bookDetailLookup.ProcessBook(bookStore, 3);
            Assert.Equal(3, bookStore.UpdatedBook.Id);
            Assert.Equal("Test-Driven JavaScript Development", bookStore.UpdatedBook.Title);
            Assert.Equal("Christian Johansen", bookStore.UpdatedBook.Author);
        }