@Test
public void getResultAndUnload() throws JIException {
QueryTemplate qt = new QueryTemplate(app);
OCQueryResultSelection selection = qt.queryForSelection("SELECT * FROM Catalog.Валюты");
OCQueryResult result = selection.getOwner();
OCValueTable vt = result.unload();
assertTrue(vt.size() > 0);
OCValueTableColumnCollection vtCC = vt.getColumns();
int vtCCSZ = vtCC.size();
assertTrue(vtCCSZ > 0);
System.out.println(vt.size());
for (int i = 1; i < vtCCSZ; i++) {
System.out.print(vtCC.getTableColumn(i).getName() + "\t");
}
System.out.println();
for (OCValueTableRow element : vt) {