public void Handle_Updates_Inventory_With_Enough_Inventory(TicketsPurchasedUpdateInventoryHandler sut, IGetAll<Ticket> ticketGetter, IDelete<Ticket> ticketDeleter, ICreate<Order> orderCreator) { sut.Handle(new TicketsPurchasedEvent(TestData.TicketId, TestData.EventId, TestData.TenLessThanTotalNumberOfTickets)); ticketGetter.Received(1).All(); ticketDeleter.Received(10).Delete(Arg.Any<Ticket>()); orderCreator.Received(1).Create(Arg.Any<Order>()); }