public virtual void NamePropertyTest() { String name = "Name"; PdfTarget target = PdfTarget.Create(new PdfDictionary()); target.SetName(name); NUnit.Framework.Assert.AreEqual(name, target.GetName()); NUnit.Framework.Assert.AreEqual(new PdfString(name), target.GetPdfObject().Get(PdfName.N)); }