예제 #1
0
 public void GetDocumentListNamesTest()
 {
     var target = new Document();
     const string name = "foo";
     target.SetDocumentList(name, new List<Document>());
     Assert.AreEqual(name, target.GetDocumentListNames().Single());
 }
예제 #2
0
 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));
 }