public void PersistentChoiceTest() { var test = new PersistentChoice(DialogResult.Yes); Assert.AreEqual(DialogResult.Yes, test.DialogResult); test.Reset(10); Assert.AreEqual(10, test.NumRecs); test.ProcessedOne(); Assert.AreEqual(9, test.NumRecs); }
public void PersistentChoice() { var pc = new PersistentChoice(DialogResult.Yes); _MessageBox.PersistentChoice("message", "Title", pc, "Yes", "no"); }