public void TestGetDataResponseCross(string dataflow)
        {
            var retrieverManager = new RetrieverManager(new IRetrieverFactory [] { new RetrieverFactoryAlwaysNoResults(), new TestWsRetrieverFactory() });

            var dataResponseSimple = retrieverManager.GetDataResponseCross(CreateDataQueryV2(dataflow));
            Assert.NotNull(dataResponseSimple);
        }
        public void TestGetStructureResponseSimpleRest(string restStructure)
        {
            var retrieverManager = new RetrieverManager(new IRetrieverFactory [] { new RetrieverFactoryAlwaysNoResults(), new TestWsRetrieverFactory() });

            var objects = retrieverManager.ParseRequest(SdmxSchema.GetFromEnum(SdmxSchemaEnumType.VersionTwoPointOne),  new RESTStructureQueryCore(restStructure), null);
            Assert.NotNull(objects);
            Assert.IsNotEmpty(objects.GetAllMaintainables());
        }
        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);
        }
 public void TestGetStructureV21(string queryFile)
 {
     var retrieverManager = new RetrieverManager(new IRetrieverFactory [] { new RetrieverFactoryAlwaysNoResults(), new TestWsRetrieverFactory() });
     ISdmxObjects objects;
     using (var readableDataLocation = new FileReadableDataLocation(queryFile))
     {
         objects = retrieverManager.ParseRequest(SdmxSchemaEnumType.VersionTwoPointOne, readableDataLocation, null);
     }
     Assert.NotNull(objects);
     Assert.IsNotEmpty(objects.GetAllMaintainables());
 }