public void Exporters_XrefExporter_moveDocPos() { var docs = GetDocs(); Document first = docs[0]; Document last = docs[1]; TestExporter exporter = new TestExporter(); exporter.SetDocs(docs); Assert.AreEqual(last, exporter.getNextDoc(0)); Assert.AreEqual(first, exporter.getPreviousDoc(1)); Assert.AreEqual(null, exporter.getNextDoc(1)); Assert.AreEqual(null, exporter.getPreviousDoc(0)); }