public virtual void MakeNewRendererTest()
        {
            PageTargetCountElement element = new PageTargetCountElement("'#target'");
            IRenderer renderer             = element.GetRenderer();

            NUnit.Framework.Assert.IsTrue(renderer is PageTargetCountRenderer);
        }
        public virtual void ConstructorTest()
        {
            PageTargetCountElement element = new PageTargetCountElement("'aadad''''adad#####'''aaa");

            NUnit.Framework.Assert.AreEqual("aadadadadaaa", element.GetTarget());
        }
 /// <summary>
 /// Instantiates a new
 /// <see cref="PageTargetCountRenderer"/>.
 /// </summary>
 /// <param name="textElement">the text element</param>
 internal PageTargetCountRenderer(PageTargetCountElement textElement)
     : base(textElement)
 {
     digitsGlyphStyle = textElement.GetDigitsGlyphStyle();
     target           = textElement.GetTarget();
 }