private void ReturnsBool(QueryContainer combined, Action<IBoolQuery> boolQueryAssert) { combined.Should().NotBeNull(); IQueryContainer c = combined; c.Bool.Should().NotBeNull(); boolQueryAssert(c.Bool); }
private void ReturnsSingleQuery(QueryContainer combined, Action<IQueryContainer> containerAssert) { combined.Should().NotBeNull(); IQueryContainer c = combined; containerAssert(c); }
protected void ReturnsNull(QueryContainer combined, Func<QueryContainerDescriptor<Project>, QueryContainer> selector) { combined.Should().BeNull(); selector.Invoke(new QueryContainerDescriptor<Project>()).Should().BeNull(); }