void () { final int fileId = 1; final int nameId = 11; //add fileId -> nameId mapping invertedNameIndex.updateFileName(fileId, nameId, NULL_NAME_ID); //remove fileId -> nameId mapping invertedNameIndex.updateFileName(fileId, NULL_NAME_ID, nameId); final IntArraySet fileIds = fileIdsByNameId(nameId); assertTrue( "fileId(" + fileId + ") mapping was removed, nothing should be listed back", fileIds.isEmpty() ); }