public void BookManagement_Should_Delete_Author_From_DB()
        {
            var bookManagement = new BookManagement(_dbManager);

            bookManagement.AddToCollection(_dummyAuthor);
            bookManagement.RemoveFromCollection(_dummyAuthor);

            Assert.Null(bookManagement.FindAuthor("Name", _dummyAuthor.Name));

            _dbManager.Dispose();
        }
        public void BookManagement_Should_Delete_Book_From_DB()
        {
            var bookManagement = new BookManagement(_dbManager);
            var book           = bookManagement.GetBookFromApi("9780132350884");

            bookManagement.AddToCollection(book);

            bookManagement.RemoveFromCollection(book);

            Assert.Null(bookManagement.FindBook("Title", book.Title));
            _dbManager.Dispose();
        }