public void TestRendererWithFormatAndList()
{
string template =
"The names: <names; format=\"upper\">";
TemplateGroup group = new TemplateGroup();
group.RegisterRenderer(typeof(string), new StringRenderer());
Template st = new Template(group, template);
st.Add("names", "ter");
st.Add("names", "tom");
st.Add("names", "sriram");
string expecting = "The names: TERTOMSRIRAM";
string result = st.Render();
Assert.AreEqual(expecting, result);
}