}
@Test
public void shouldGenerateXmlForPolymorphicChildren() throws IOException {
deleteAndPopulateTables("articles", "comments", "tags");
Article a = Article.findFirst("title = ?", "ActiveJDBC polymorphic associations");
a.add(Comment.create("author", "igor", "content", "this is just a test comment text"));
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);