### Question:
GenQueryInp extends AbstractIRODSPackingInstruction implements IRodsPI { private GenQueryInp(final TranslatedIRODSGenQuery translatedIRODSGenQuery, final int continueIndex) { if (translatedIRODSGenQuery == null) { throw new IllegalArgumentException("translatedIRODSGenQuery is null"); } if (continueIndex <= 0) { throw new IllegalArgumentException("continueIndex must be > 0 when sending a close"); } translatedIRODSQuery = translatedIRODSGenQuery; this.continueIndex = continueIndex; partialStartIndex = 0; maxRowCount = -1; } private  GenQueryInp(final TranslatedIRODSGenQuery translatedIRODSGenQuery, final int continueIndex); private  GenQueryInp(final TranslatedIRODSGenQuery translatedIRODSQuery, final int continueIndex,
			final int partialStartIndex, final String zoneName); static GenQueryInp instance(final TranslatedIRODSGenQuery translatedIRODSQuery, final int continueIndex,
			final String zoneName); static GenQueryInp instanceForCloseQuery(final TranslatedIRODSGenQuery translatedIRODSQuery,
			final int continueIndex); static GenQueryInp instanceWithPartialStart(final TranslatedIRODSGenQuery translatedIRODSQuery,
			final int partialStartIndex, final String zoneName); int getContinueIndex(); TranslatedIRODSGenQuery getTranslatedIRODSQuery(); @Override Tag getTagValue(); static final String PI_TAG; static final String MAX_ROWS; static final String CONTINUE_INX; static final String PARTIAL_START_INDEX; static final String IILEN; static final String ISLEN; static final String INX; static final String IVALUE; static final String SVALUE; static final String INX_VAL_PAIR_PI; static final String INX_IVAL_PAIR_PI; static final int ORDER_BY; static final int ORDER_BY_DESC; static final int UPPER_CASE_WHERE; static final int RETURN_TOTAL_ROW_COUNT; static final int API_NBR; }### Answer:
@Test public final void testGenQueryInp() throws Exception { String queryString = "select " + RodsGenQueryEnum.COL_D_COLL_ID.getName() + " ," + RodsGenQueryEnum.COL_COLL_ACCESS_COLL_ID.getName() + " where " + RodsGenQueryEnum.COL_COLL_ACCESS_TYPE.getName() + " = " + "'2'"; IRODSServerProperties props = IRODSServerProperties.instance(IRODSServerProperties.IcatEnabled.ICAT_ENABLED, 100, "rods2.2", "d", "zone"); IRODSGenQuery irodsQuery = IRODSGenQuery.instance(queryString, 500); IRODSGenQueryTranslator irodsQueryTranslator = new IRODSGenQueryTranslator(props); TranslatedIRODSGenQuery translatedIRODSQuery = irodsQueryTranslator.getTranslatedQuery(irodsQuery); GenQueryInp genQueryInp = GenQueryInp.instance(translatedIRODSQuery, 0, null); Assert.assertNotNull(genQueryInp.getParsedTags()); }