public void GetDocumentListNamesTest() { var target = new Document(); const string name = "foo"; target.SetDocumentList(name, new List<Document>()); Assert.AreEqual(name, target.GetDocumentListNames().Single()); }
public void SetDocumentListTest() { var target = new Document(); const string name = "foo"; var list = new List<Document>(); target.SetDocumentList(name, list); Assert.AreEqual(list, target.GetDocumentList(name)); }