private Feature GetFeatureElement(ObjectModel.Feature feature) { return(this.resultsDocument.FirstOrDefault(x => x.name == feature.Name)); }
public TestResult GetFeatureResult(ObjectModel.Feature feature) { var cucumberFeature = this.GetFeatureElement(feature); return(this.GetResultFromFeature(cucumberFeature)); }