@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());