public void ParseMultipleSettingsEntries() { var results = PropertySettingsRule.ParseSettingsEntry(MultipleSettingsConfig); Assert.AreEqual(2, results.Count); Assert.AreEqual("Save after each row", results[1].Property); Assert.AreEqual("*ExcelForEachRow", results[1].Activity); Assert.AreEqual("False", results[1].Value); }
public void ParseSingleSettingsEntry() { var results = PropertySettingsRule.ParseSettingsEntry(SingleSettingsConfig); Assert.AreEqual(1, results.Count); Assert.AreEqual("Save to Drafts", results[0].Property); Assert.AreEqual("*MailX", results[0].Activity); Assert.AreEqual("True", results[0].Value); }