ds.close();
}
public void testExceptionInAction() throws Exception {
SelectItem[] selectItems = new SelectItem[2];
selectItems[0] = new SelectItem(new MutableColumn("foos"));
selectItems[1] = new SelectItem(new MutableColumn("bars"));
DataSet ds = new RowPublisherDataSet(selectItems, 5,
new Action<RowPublisher>() {
@Override
public void run(RowPublisher publisher) throws Exception {
publisher.publish(new Object[] { "foo0", "bar0" });