### Question:
IRODSGenQueryExecutorImpl extends IRODSGenericAO implements IRODSGenQueryExecutor { @Override public IRODSQueryResultSet executeIRODSQueryWithPagingInZone(final AbstractIRODSGenQuery irodsQuery, final int partialStartIndex, final String zoneName) throws JargonException, JargonQueryException { log.info("executeIRODSQueryWithPagingInZone()"); if (irodsQuery == null) { throw new IllegalArgumentException("null irodsQuery"); } log.info("query: {}", irodsQuery); GenQueryProcessor genQueryProcessor = new GenQueryProcessor(getIRODSProtocol()); TranslatedIRODSGenQuery translatedIRODSQuery = genQueryProcessor.translateProvidedQuery(irodsQuery); return genQueryProcessor.executeTranslatedIRODSQuery(translatedIRODSQuery, 0, partialStartIndex, QueryCloseBehavior.AUTO_CLOSE, zoneName); } IRODSGenQueryExecutorImpl(final IRODSSession irodsSession, final IRODSAccount irodsAccount); @Override IRODSQueryResultSet executeIRODSQuery(final AbstractIRODSGenQuery irodsQuery, final int continueIndex); @Override IRODSQueryResultSet executeIRODSQueryInZone(final AbstractIRODSGenQuery irodsQuery, final int continueIndex,
			final String zoneName); @Override IRODSQueryResultSet executeIRODSQueryAndCloseResult(final AbstractIRODSGenQuery irodsQuery,
			final int partialStartIndex); @Override IRODSQueryResultSet executeIRODSQueryAndCloseResultInZone(final AbstractIRODSGenQuery irodsQuery,
			final int partialStartIndex, final String zoneName); @Override IRODSQueryResultSet executeIRODSQueryWithPaging(final AbstractIRODSGenQuery irodsQuery,
			final int partialStartIndex); @Override IRODSQueryResultSet executeIRODSQueryWithPagingInZone(final AbstractIRODSGenQuery irodsQuery,
			final int partialStartIndex, final String zoneName); @Override IRODSQueryResultSet getMoreResults(final IRODSQueryResultSet irodsQueryResultSet); @Override IRODSQueryResultSet getMoreResultsInZone(final IRODSQueryResultSet irodsQueryResultSet,
			final String zoneName); @Override void closeResults(final IRODSQueryResultSet irodsQueryResultSet);  }### Answer:
@Test public final void testExecuteIRODSQueryWithPagingSupplySameZone() throws Exception { String queryString = "select " + RodsGenQueryEnum.COL_R_RESC_NAME.getName() + " ," + RodsGenQueryEnum.COL_R_ZONE_NAME.getName() + " where " + RodsGenQueryEnum.COL_R_ZONE_NAME.getName() + " = " + "'" + testingProperties.getProperty(TestingPropertiesHelper.IRODS_ZONE_KEY) + "'"; IRODSGenQuery irodsQuery = IRODSGenQuery.instance(queryString, 100); IRODSAccount irodsAccount = testingPropertiesHelper.buildIRODSAccountFromTestProperties(testingProperties); IRODSAccessObjectFactory accessObjectFactory = irodsFileSystem.getIRODSAccessObjectFactory(); IRODSGenQueryExecutor irodsGenQueryExecutor = accessObjectFactory.getIRODSGenQueryExecutor(irodsAccount); IRODSQueryResultSetInterface resultSet = irodsGenQueryExecutor.executeIRODSQueryWithPagingInZone(irodsQuery, 0, testingProperties.getProperty(TestingPropertiesHelper.IRODS_ZONE_KEY)); Assert.assertNotNull(resultSet); }