public virtual void SetAndGetContentsAsCaptionTest() { PdfLineAnnotation pdfLineAnnotation = new PdfLineAnnotation(new PdfDictionary()); bool contentsAsCaption = true; pdfLineAnnotation.SetContentsAsCaption(contentsAsCaption); NUnit.Framework.Assert.AreEqual(contentsAsCaption, pdfLineAnnotation.GetContentsAsCaption()); }
public virtual void GetContentsAsCaptionNullTest() { PdfLineAnnotation pdfLineAnnotation = new PdfLineAnnotation(new PdfDictionary()); NUnit.Framework.Assert.IsFalse(pdfLineAnnotation.GetContentsAsCaption()); }