Exemple #1
0
        public void TestToString()
        {
            XSSFRichTextString rt = new XSSFRichTextString("Apache POI");

            Assert.IsNotNull(rt.ToString());

            // TODO: normally ToString() should never return null, should we adjust this?
            rt = new XSSFRichTextString();
            Assert.IsNull(rt.ToString());
        }
        public void TestToString()
        {
            XSSFRichTextString rt = new XSSFRichTextString("Apache POI");
            Assert.IsNotNull(rt.ToString());

            // TODO: normally ToString() should never return null, should we adjust this?
            rt = new XSSFRichTextString();
            Assert.IsNull(rt.ToString());
        }