public override void Given() { base.Given(); WiqlQueryBuilder = new WiqlQueryBuilder(); QueryProvider = new TeamFoundationServerWorkItemQueryProvider(new MockWorkItemStore(), WiqlQueryBuilder); Query = new Query <IWorkItem>(QueryProvider, WiqlQueryBuilder); }
/// <inheritdoc /> public override void Given() { base.Given(); var soapBuilder = new WiqlQueryBuilder(); var soapQp = new TeamFoundationServerWorkItemQueryProvider(Soap, soapBuilder); SoapQueryable = new Query <IWorkItem>(soapQp, soapBuilder); var restBuilder = new WiqlQueryBuilder(); var restQp = new TeamFoundationServerWorkItemQueryProvider(Rest, restBuilder); RestQueryable = new Query <IWorkItem>(restQp, restBuilder); }