public void TestConstructSwum()
{
string testSrcML = "<class>class <name>foo</name> <block>{<private type=\"default\"><decl_stmt><decl><type><name>int</name></type> <name>a</name></decl>;</decl_stmt></private>}</block>;</class>";
XElement xml = XElement.Parse(string.Format(srcMLFormat, testSrcML), LoadOptions.PreserveWhitespace);
FieldContext fc = ContextBuilder.BuildFieldContext(xml.Descendants(SRC.Declaration).First());
FieldDeclarationNode fdn = new FieldDeclarationNode("a", fc);
FieldRule rule = new FieldRule(posData, tagger, splitter);
rule.ConstructSwum(fdn);
Console.WriteLine(fdn.ToString());
}