public void Exporters_XrefExporter_getPageRecords()
        {
            var          docs     = GetDocs();
            TestExporter exporter = new TestExporter();

            exporter.SetDocs(docs);
            var field = new SlipsheetField();

            field.FieldName = "DOCID";
            field.Alias     = "begno";
            var     fields  = new SlipsheetField[] { field };
            Trigger trigger = new Trigger();

            trigger.Type              = Switch.SwitchType.FieldValueChange;
            trigger.FieldName         = "DOCID";
            trigger.FieldChangeOption = Switch.ValueChangeOption.None;
            var ss = SlipSheets.Builder
                     .Start(trigger.ToSwitch())
                     .SetAliasMap(fields.ToDictionary(f => f.FieldName, f => f.Alias))
                     .SetFolderName("SlipSheets")
                     .Build();

            ss.GenerateSlipSheets(docs);
            exporter.SetSlipsheets(ss);
            var           actual   = exporter.getPageRecords(1, ss);
            List <string> expected = new List <string>();

            expected.Add("\\SlipSheets\\DOC000001.001.TIF, DOC, 000001, .001, 0, 0, 1, 0, 0, 0, 1, , , ");
            expected.Add("X:\\VOL001\\IMAGES\\0001\\DOC000002.tif, DOC, 000002, , 0, 0, 1, 0, 0, 0, 0, , , ");
            expected.Add("X:\\VOL001\\IMAGES\\0001\\DOC000003.tif, DOC, 000003, , 0, 0, 0, 0, 0, 0, 0, , , ");

            for (int i = 0; i < expected.Count; i++)
            {
                Assert.AreEqual(expected[i], actual[i]);
            }
        }