public void AndIntersectsPrimitiveLists(List <List <int> > integrants, HashSet <int> expected) { var actual = RquestOmopQueryService.Combine( QueryCombinators.And, integrants); Assert.StrictEqual(expected.Count, actual.Count); Assert.All(actual, item => expected.Contains(item)); }
public RquestPollingService( ILogger <RquestPollingService> logger, RquestConnectorApiClient rquestApi, RquestOmopQueryService queries, IOptions <RquestPollingServiceOptions> config) { _logger = logger; _rquestApi = rquestApi; _config = config.Value; _queries = queries; }
public RquestQueryHandlers() { ContextOptions = new DbContextOptionsBuilder <OmopContext>() .UseInMemoryDatabase("db") .Options; Seed(); _testContext = new OmopContext(ContextOptions); _sut = new(_testContext); }