a.add(Tag.create("content", "orm"));
LazyList<Article> articles = Article.where("title = ?", "ActiveJDBC polymorphic associations")
.include(Tag.class, Comment.class);
String xml = articles.toXml(true, true);
XPathHelper h = new XPathHelper(xml);
a(h.count("/articles/article")).shouldEqual(1);
a(h.count("/articles/article/comments/comment")).shouldEqual(1);
a(h.count("/articles/article/tags/tag")).shouldEqual(1);
the(h.selectText("/articles/article[1]/comments/comment[1]/content")).shouldBeEqual(
"this is just a test comment text");
the(h.selectText("/articles/article[1]/tags/tag[1]/content")).shouldBeEqual("orm");
}