public void TestTransformSteps() { var repos = new Repository[3]; var steps = new FeatureStep[4]; var transformed = _etl.TransformMongoEntry(repos, steps); Assert.IsTrue(transformed.Count > 0); }
public async Task <FeatureStep[]> ExtractFeatureSteps() { HttpResponseMessage response = await RestClient.GetAsync("/steps"); FeatureStep[] steps = new FeatureStep[0]; if (response.IsSuccessStatusCode) { var featureSteps = await response.Content.ReadAsAsync <FeatureSteps>(); steps = featureSteps.Steps; } return(steps); }