public void AddBesideAndAbove() { const String expected = "<orders>" + "<order>" + "<item/>" + "<item/>" + "<item/>" + "</order>" + "<order/>" + "</orders>"; builder = createOutputBuilder("orders"); builder.AddBelow("order"); builder.AddBelow("item"); builder.AddBeside("item"); builder.AddBeside("item"); builder.AddAbove("order"); assertXMLEquals(expected, builder.ToString(), "beside & above"); }
public void AddBesideRoot() { builder = createOutputBuilder("orders"); builder.AddBeside("customer"); }