void (@NotNull String localPath) { if (!ApplicationManager.getApplication().isUnitTestMode()) throw new IllegalStateException(); var handler = myHandlers.remove(localPath); if (handler == null) throw new IllegalArgumentException(localPath + " not in " + myHandlers.keySet()); handler.clearCaches(); }