public void markPluginInvalid(String bundleSymbolicName, List<String> messages) {
        final GoPluginBundleDescriptor bundleDescriptor = getBundleDescriptor(bundleSymbolicName);
        if (bundleDescriptor == null) {
            throw new RuntimeException(String.format("Invalid bundle symbolic name '%s'", bundleSymbolicName));
        }

        bundleDescriptor.markAsInvalid(messages, null);
    }
@Test
    void shouldThrowExceptionWhenBundleSymbolicNameIsNull() {
        assertThatCode(() -> registry.markPluginInvalid(null, List.of("some message")))
                .isInstanceOf(RuntimeException.class)
                .hasMessageContaining("Invalid bundle symbolic name 'null'");
    }