void () { final int[] fileIds = IntStream.range(1, ENOUGH_COLLISIONS_TO_CHECK).toArray(); final String fileName = "A"; for (final int fileId : fileIds) { index.addFileName(fileId, fileName); } final IntArraySet fileIdsFound = lookupIndexByFileName(index, fileName); assertEquals( "All fileIds with the same name should be found", new IntArraySet(fileIds), fileIdsFound ); }