### Question:
CollectionAOHelper extends AOHelper { public static CollectionAndDataObjectListingEntry buildCollectionListEntryFromResultSetRowForCollectionQuery( final IRODSQueryResultRow row, final int totalRecords) throws JargonException { CollectionAndDataObjectListingEntry entry = new CollectionAndDataObjectListingEntry(); entry.setParentPath(row.getColumn(0)); entry.setObjectType(ObjectType.COLLECTION); entry.setPathOrName(row.getColumn(1)); entry.setCreatedAt(IRODSDataConversionUtil.getDateFromIRODSValue(row.getColumn(2))); entry.setModifiedAt(IRODSDataConversionUtil.getDateFromIRODSValue(row.getColumn(3))); entry.setId(IRODSDataConversionUtil.getIntOrZeroFromIRODSValue(row.getColumn(4))); entry.setOwnerName(row.getColumn(5)); entry.setOwnerZone(row.getColumn(6)); entry.setSpecColType(IRODSDataConversionUtil.getCollectionTypeFromIRODSValue(row.getColumn(7))); entry.setCount(row.getRecordCount()); entry.setTotalRecords(totalRecords); entry.setLastResult(row.isLastResult()); log.debug("listing entry built {}", entry.toString()); return entry; }  static String buildSelects(); static void buildSelectsByAppendingToBuilder(final IRODSGenQueryBuilder builder); static String buildMetadataSelects(); static Collection buildCollectionFromResultSetRow(final IRODSQueryResultRow row); static StringBuilder buildConditionPart(final AVUQueryElement queryElement); static void appendConditionPartToBuilderQuery(final AVUQueryElement queryElement,
			final IRODSGenQueryBuilder builder); static List<Collection> buildListFromResultSet(final IRODSQueryResultSetInterface resultSet); static CollectionAndDataObjectListingEntry buildCollectionListEntryFromResultSetRowForCollectionQuery(
			final IRODSQueryResultRow row, final int totalRecords); static CollectionAndDataObjectListingEntry buildCollectionListEntryFromResultSetRowForDataObjectQuery(
			final IRODSQueryResultRow row, final int totalRecords); static void buildSelectsNeededForCollectionsInCollectionsAndDataObjectsListingEntry(
			final IRODSGenQueryBuilder builder); static void buildInheritanceQueryForCollectionAbsolutePath(final String absolutePathToCollection,
			final IRODSGenQueryBuilder builder); static void buildUserFilePermissionForCollection(final List<UserFilePermission> userFilePermissions,
			final IRODSQueryResultRow row, final String irodsAbsolutePath); static void buildUserFilePermissionForDataObject(final List<UserFilePermission> userFilePermissions,
			final IRODSQueryResultRow row, final String irodsAbsolutePath, final String currentZone); static void buildACLQueryForCollectionName(final String irodsCollectionAbsolutePath,
			final IRODSGenQueryBuilder builder); static final Logger log; }### Answer:
@Test public void testBuildCollectionListEntryFromResultSetRowForCollectionQuery() throws JargonException { final String[] columnNames = { "0", "1", "2", "3", "4", "5", "6", "7" }; final String[] columnValues = { "/path/to", "/path/to/collection", "1000000000", "1000000000", "10000", "user", "zone", "linkPoint" }; final IRODSQueryResultRow row = IRODSQueryResultRow.instance(asList(columnValues), asList(columnNames)); final CollectionAndDataObjectListingEntry entry = buildCollectionListEntryFromResultSetRowForCollectionQuery( row, 0); assertEquals("set incorrect collection type", SpecColType.LINKED_COLL, entry.getSpecColType()); }