void () { final int fileId = 1; final int nameId = 42; invertedNameIndex.updateFileName(fileId, nameId, NULL_NAME_ID); final IntArraySet fileIds = fileIdsByNameId(nameId); assertTrue( "fileId(" + fileId + ") indexed must be the one reported back", fileIds.size() == 1 && fileIds.contains(fileId) ); }