示例#1
0
        public void Setup()
        {
            var context = new BookingsDbContext(BookingsDbContextOptions);

            _queryHandler = new GetHearingByIdQueryHandler(context);
            var hearingService = new HearingService(context);

            _commandHandler = new CreateVideoHearingCommandHandler(context, hearingService);
            _newHearingId   = Guid.Empty;
        }