public void TestNestedDefaultValueTemplate()
{
string templates =
"t(a={x | <x:{y|<y>}>}) ::= \"ick\"" + Environment.NewLine;
writeFile(tmpdir, "t.stg", templates);
TemplateGroup group = new TemplateGroupFile(Path.Combine(tmpdir, "t.stg"));
group.Load();
string expected =
"t(a={x | <x:{y|<y>}>}) ::= <<" + Environment.NewLine +
"ick" + Environment.NewLine +
">>" + Environment.NewLine;
string result = group.Show();
Assert.AreEqual(expected, result);
}