Ejemplo n.º 1
0
        public void ClearContentTest()
        {
            var tg = new TextGenerator();

            tg.Write("x");
            Assert.AreEqual("x", tg.Content);

            tg.ClearContent();
            Assert.AreEqual("", tg.Content);

            tg.Write("x");
            Assert.AreEqual("x", tg.Content);
        }