Esempio n. 1
0
        public void Add_GivenBookTitle_AddBookToLibrary()
        {
            // Arrange
            var expectedBookTitle = "A Tale of Two Cities";
            var bookLibrary       = new BookLibrary();

            // Act
            bookLibrary.Add(expectedBookTitle);

            // Assert
            List <string> actual = bookLibrary.GetAll();

            actual.Should().Contain(expectedBookTitle);
        }