void () { ExtensionPoint<@NotNull Integer> extensionPoint = buildExtensionPoint(Integer.class); extensionPoint.registerExtension(123, disposable); extensionPoint.registerExtension(321, LoadingOrder.FIRST, disposable); Object[] extensions = extensionPoint.getExtensions(); assertThat(extensions).hasSize(2); assertThat(extensions[0]).isEqualTo(321); }