With the Database interface representing the sample database, implement the following projections:
- Detailed view of the shopping cart:
- total amount of products in the basket,
- total number of products
- list of products (e.g. if someone added the same product twice, then we should have one element with the sum).
- View of the summary of the customer's purchases, where we have information about:
- the number of all products in the confirmed shopping carts
- the total amount of confirmed product items.
Add event handlers registrations in ProjectionsTests calling EventBus.Register method.
Track and implement proper idempotency handling in projection event handlers.