void () { ExtensionPointImpl<@NotNull Integer> extensionPoint = buildExtensionPoint(Integer.class); extensionPoint.registerExtension(0, disposable); assertThat(extensionPoint.getExtensions()).hasSize(1); }