public void Setup() { var context = new BookingsDbContext(BookingsDbContextOptions); _commandHandler = new UpdateJudiciaryPersonByExternalRefIdHandler(context); _getJudiciaryPersonByExternalRefIdQueryHandler = new GetJudiciaryPersonByExternalRefIdQueryHandler(context); }