public void Exporters_XlsExporter_getRowValues() { Document doc = docs.First(); string[] fields = new string[] { "DOCID", "VOLUME" }; string[] expected = new string[] { "DOC000001", "VOL001" }; TestExporter tester = new TestExporter(); string[] values = tester.getRowValues(doc, fields); for (int i = 0; i < values.Length; i++) { Assert.AreEqual(expected[i], values[i]); } }