### Question:
SimpleQueryExecutorAOImpl extends IRODSGenericAO implements SimpleQueryExecutorAO { @Override public IRODSQueryResultSetInterface executeSimpleQuery(final AbstractAliasedQuery simpleQuery) throws JargonException { List<IRODSQueryResultRow> result; List<String> colNames; IRODSQueryResultSetInterface resultSet; if (simpleQuery == null) { throw new IllegalArgumentException("null simpleQuery"); } log.info("executeSimpleQuery:{}", simpleQuery); Tag response = getResponse((SimpleQuery) simpleQuery); if (response == null) { log.info("response from IRODS call indicates no rows found"); resultSet = IRODSSimpleQueryResultSet.instance(simpleQuery, new ArrayList<IRODSQueryResultRow>(), new ArrayList<String>(), false); return resultSet; } List<String> rows = extractRows(response); colNames = parseColumnNames(rows); result = generateResultRows(rows, colNames); resultSet = IRODSSimpleQueryResultSet.instance(simpleQuery, result, colNames, true); return resultSet; } protected  SimpleQueryExecutorAOImpl(final IRODSSession irodsSession, final IRODSAccount irodsAccount); @Override IRODSQueryResultSetInterface executeSimpleQuery(final AbstractAliasedQuery simpleQuery); static final String OUT_BUF; }### Answer:
@Test public void testRescQueryOneArgMultipleValsInSelect() throws Exception { EnvironmentalInfoAO environmentalInfoAO = irodsFileSystem.getIRODSAccessObjectFactory() .getEnvironmentalInfoAO(irodsAccount); IRODSServerProperties props = environmentalInfoAO.getIRODSServerPropertiesFromIRODSServer(); if (props.isAtLeastIrods410()) { return; } if (!props.isTheIrodsServerAtLeastAtTheGivenReleaseVersion("rods2.4.1")) { irodsFileSystem.closeAndEatExceptions(); return; } String querySQL = "select R_RESC_GROUP.resc_group_name, R_RESC_GROUP.resc_id, resc_name, R_RESC_GROUP.create_ts, R_RESC_GROUP.modify_ts from R_RESC_MAIN, R_RESC_GROUP where R_RESC_MAIN.resc_id = R_RESC_GROUP.resc_id and resc_group_name=?"; String resourceGroup = testingProperties.getProperty(TestingPropertiesHelper.IRODS_RESOURCE_GROUP_KEY); SimpleQueryExecutorAO simpleQueryExecutorAO = irodsFileSystem.getIRODSAccessObjectFactory() .getSimpleQueryExecutorAO(irodsAccount); AbstractAliasedQuery simpleQuery = SimpleQuery.instanceWithOneArgument(querySQL, resourceGroup, 0); IRODSQueryResultSetInterface resultSet = simpleQueryExecutorAO.executeSimpleQuery(simpleQuery); Assert.assertNotNull("got a null result et from the query", resultSet); Assert.assertEquals("did not set the column names", 5, resultSet.getColumnNames().size()); Assert.assertEquals("did not get the one result row", 1, resultSet.getResults().size()); IRODSQueryResultRow testResultRow = resultSet.getResults().get(0); testResultRow.getQueryResultColumns().size(); }