public void shouldRemovePolymorphicChildren() {
deleteAndPopulateTables("articles", "posts", "comments");
Article a = Article.findById(1);
a.add(Comment.create("author", "ipolevoy", "content", "this is just a test comment text"));
a.add(Comment.create("author", "rkinderman", "content", "this is another test comment text"));
Comment c = (Comment) Comment.findAll().limit(1).orderBy("id").get(0);
a.remove(c);
a(Comment.findAll().size()).shouldBeEqual(1);
}