public void TestRendererWithFormatAndSeparatorAndNull()
{
string template =
"The names: <names; separator=\" and \", null=\"n/a\", format=\"upper\">";
TemplateGroup group = new TemplateGroup();
group.RegisterRenderer(typeof(string), new StringRenderer());
Template st = new Template(group, template);
List<string> names = new List<string>();
names.Add("ter");
names.Add(null);
names.Add("sriram");
st.Add("names", names);
string expecting = "The names: TER and N/A and SRIRAM";
string result = st.Render();
Assert.AreEqual(expecting, result);
}