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

            bookManagement.AddToCollection(_dummyAuthor);

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

            _dbManager.Dispose();
        }
        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();
        }