Esempio n. 1
0
        public void FindGuidTest()
        {
            Guid                 guid     = Guid.NewGuid();
            Workbook             workbook = new Workbook();
            ISpreadsheetTemplate template = new FindGuidTestTemplateStub();

            workbook.Worksheets[template.DataSheetName][template.GuidCell].Value = guid.ToString();
            SpreadsheetService service = new SpreadsheetService(null, null, null, template);
            var g = service.FindGuid(workbook);

            Assert.AreEqual(guid, g);
        }