public void GetKnownDefect_GiveNoDefect_RetunsNull(string text) { var tran = new CsvToVstsTransformer(); var failId = tran.GetKnownDefects(text); Assert.IsNull(failId); }
public void GetKnownDefect_Give2Defects_Returns2Defects(string text) { var tran = new CsvToVstsTransformer(); var failId = tran.GetKnownDefects(text); CollectionAssert.AreEquivalent(new List <string> { "516000", "52300" }, failId); }
public void GetKnownDefect_ByDefault_CaseInsensitive(string text) { var tran = new CsvToVstsTransformer(); var failId = tran.GetKnownDefects(text); CollectionAssert.AreEquivalent(new List <string> { "516000" }, failId); }