### Question:
GenQueryInp extends AbstractIRODSPackingInstruction implements IRodsPI { public static GenQueryInp instanceForCloseQuery(final TranslatedIRODSGenQuery translatedIRODSQuery, final int continueIndex) { return new GenQueryInp(translatedIRODSQuery, continueIndex); } 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(expected = IllegalArgumentException.class) public final void testInstanceForCloseNoContinuation() throws Exception { TranslatedIRODSGenQuery translatedIRODSQuery = Mockito.mock(TranslatedIRODSGenQuery.class); GenQueryInp.instanceForCloseQuery(translatedIRODSQuery, 0); }