public void TestContents() { Assert.AreEqual(2, listener.GetSSTRecord().NumStrings); Assert.AreEqual(3, listener.GetBoundSheetRecords().Length); Assert.AreEqual(1, listener.GetExternSheetRecords().Length); Assert.AreEqual(3, listener.GetStubWorkbook().NumSheets); InternalWorkbook ref1 = listener.GetStubWorkbook(); Assert.AreEqual("Sh3", ref1.FindSheetFirstNameFromExternSheet(0)); Assert.AreEqual("Sheet1", ref1.FindSheetFirstNameFromExternSheet(1)); Assert.AreEqual("S2", ref1.FindSheetFirstNameFromExternSheet(2)); }