void (int sizeBefore, @NotNull FMap<String, String> updatedMap, int removedKey) { for (int i = 0; i < sizeBefore; i++) { String key = key(i); String expectedValue = i == removedKey ? null : value(i); assertEquals(expectedValue, updatedMap.get(key)); } }