public void Branch_Remove_Book_No_Stock_Should_Throw_Error()
        {
            Branch testBranch = new Branch("Test", 1);
            var bookId = Guid.NewGuid();
            testBranch.AddBookInventory(new BookInventory(bookId, 0, 0));

            Xunit.Assert.Throws<OverflowException>(() => testBranch.RemoveBookStock(bookId));
        }
        public void Branch_Remove_Book_Stock_Successfully()
        {
            Branch testBranch = new Branch("Test", 2);
            var bookId = Guid.NewGuid();
            testBranch.AddBookInventory(new BookInventory(bookId, 2, 2));

            testBranch.RemoveBookStock(bookId);

            testBranch.BookInventory.Should().HaveCount(1);
            testBranch.BookInventory.First(x => x.BookId == bookId).TotalInStock.Should().Be(1);
            testBranch.BookInventory.First(x => x.BookId == bookId).Total.Should().Be(1);
        }