public override IEnumerable <object[]> GetData(MethodInfo testMethod) { if (string.IsNullOrEmpty(FileName)) { foreach (var graphmlFile in TestGraphFactory.GetFileNames()) { var g = this.LoadSingleGraph(graphmlFile); yield return(new object[] { g }); } } else { var path = Path.Combine("graphml", this.FileName); yield return(new object[] { this.LoadSingleGraph(path) }); } }