RaptureWebResourceBundle extends ComponentSupport implements WebResourceBundle { @VisibleForTesting List<String> getExtJsPluginConfigs() { List<String> classNames = Lists.newArrayList(); for (org.sonatype.nexus.rapture.UiPluginDescriptor descriptor : extJsPluginDescriptors) { String className = descriptor.getConfigClassName(); if (className != null) { classNames.add(className); } } return classNames; } @Inject  RaptureWebResourceBundle(final ApplicationVersion applicationVersion,
                                  final Provider<HttpServletRequest> servletRequestProvider,
                                  final Provider<StateComponent> stateComponentProvider,
                                  final TemplateHelper templateHelper,
                                  final List<UiPluginDescriptor> pluginDescriptors,
                                  final List<org.sonatype.nexus.rapture.UiPluginDescriptor> extJsPluginDescriptors); @Override List<WebResource> getResources();  }
@Test public void testGetExtJsPluginConfigs() { List<String> configs = underTest.getExtJsPluginConfigs(); assertThat(configs, is(asList("id-test-1", "id-test-2"))); }