Esempio n. 1
0
        public void DoesGetBookByTitle()
        {
            // act
            var book = controller.BookByTitle("Lord of the Rings").ViewData.Model as Book;

            // assert
            var bookFromRepo = booksFromRepo[0];

            Assert.Equal(bookFromRepo, book);
        }