public void Extend_DueDate_Of_Assigned_Book()
        {
            var options = new DbContextOptionsBuilder <SchoolLibraryContext>()
                          .UseInMemoryDatabase("Extend_DueDate_Of_Assigned_Book")
                          .Options;

            using (var context = new SchoolLibraryContext(options))
            {
                context.Students.Add(new Student
                {
                    Id   = 100,
                    Name = "Ali"
                });

                context.Books.Add(new Book
                {
                    Id       = 555,
                    Name     = "How to become a millinaire",
                    IsIssued = false,
                    Author   = "XYZ"
                });

                context.SaveChanges();
            }

            using (var context = new SchoolLibraryContext(options))
            {
                var service = new BookAssignmentService(context);
                service.AssignBook(555, 100);

                var assignedBook = service.GetAssignedBook(555);
                Assert.True(assignedBook.Book.IsIssued);

                var response = service.ExtendDueDate(assignedBook.BookId, assignedBook.StudentId, assignedBook.DueDate.AddDays(7));

                Assert.Equal("Success", response);
            }
        }