ParserConfiguration extends GlobalConfigurationItem { public List<GroovyParser> getParsers() { return parsers; } ParserConfiguration(); @VisibleForTesting  ParserConfiguration(final GlobalConfigurationFacade facade); static ParserConfiguration getInstance(); List<GroovyParser> getParsers(); @DataBoundSetter void setParsers(final List<GroovyParser> parsers); @SuppressWarnings("unused") // Called from config.jelly boolean canEditParsers(); ReportScanningTool getParser(final String id); boolean contains(final String id); ListBoxModel asListBoxModel();  }
@Test void shouldHaveNoRootFoldersWhenCreated() { ParserConfiguration configuration = new ParserConfiguration(mock(GlobalConfigurationFacade.class)); assertThat(configuration.getParsers()).isEmpty(); }