// by the page size, to test the last smaller page
query.setPageSize(pageSize);
query.addOrdering("db:" + MtTable1.TABLE1_ID_PK_COLUMN, SortOrder.ASCENDING);
ClientServerChannel serverChannel = new ClientServerChannel(getDomain());
LocalConnection connection = new LocalConnection(
serverChannel,
LocalConnection.HESSIAN_SERIALIZATION);
ClientChannel clientChannel = new ClientChannel(connection,
false,
new MockEventManager(),