void () { DefaultLogger.disableStderrDumping(disposable); ExtensionPointImpl<@NotNull Integer> extensionPoint = buildExtensionPoint(Integer.class); extensionPoint.addExtensionAdapter(newStringAdapter()); assertThatThrownBy(() -> { extensionPoint.getExtensionList(); }).hasMessageContaining("Extension java.lang.String does not implement class java.lang.Integer"); }