public void TestGetDataResponseSimple(string dataflow) { var retrieverManager = new RetrieverManager(new IRetrieverFactory[] { new RetrieverFactoryAlwaysNoResults(), new TestWsRetrieverFactory()}); var dataResponseSimple = retrieverManager.GetDataResponseSimple(CreateDataQueryV2(dataflow)); Assert.NotNull(dataResponseSimple); }
public void TestGetDataResponseSimpleRest(string dataflow) { var retrieverManager = new RetrieverManager(new IRetrieverFactory [] { new RetrieverFactoryAlwaysNoResults(), new TestWsRetrieverFactory() }); var dataResponseSimple = retrieverManager.GetDataResponseSimple(new RESTDataQueryCore(string.Format("data/{0}", dataflow))); Assert.NotNull(dataResponseSimple); }