RepositoryCombobox extends Combobox<String> { public RepositoryCombobox includeAnEntryForAllRepositories() { this.generateAllRepositoriesEntry = true; return this; } RepositoryCombobox(String id, String label, String helpText, boolean required, String regexValidation);  RepositoryCombobox(String id, String label, String helpText, boolean required);  RepositoryCombobox(String id, boolean required);  RepositoryCombobox(String id); RepositoryCombobox includingAnyOfTypes(final String... types); RepositoryCombobox excludingAnyOfTypes(final String... types); RepositoryCombobox includingAnyOfFormats(final String... formats); RepositoryCombobox excludingAnyOfFormats(final String... formats); RepositoryCombobox includingAnyOfVersionPolicies(final String... versionPolicies); RepositoryCombobox excludingAnyOfVersionPolicies(final String... versionPolicies); RepositoryCombobox includingAnyOfFacets(final Class<?>... facets); RepositoryCombobox regardlessViewPermissions(); RepositoryCombobox includeAnEntryForAllRepositories(); RepositoryCombobox includeEntriesForAllFormats(); @Override boolean getAllowAutocomplete(); @Override String getStoreApi(); @Override Map<String, String> getStoreFilters(); static final String REGARDLESS_VIEW_PERMISSIONS; static final String FACET; static final String CONTENT_CLASS; static final String ALL_REPOS_ENTRY; }
@Test public void includeAnEntryForAllRepositories() { underTest.includeAnEntryForAllRepositories(); assertThat(underTest.getStoreFilters(), nullValue()); assertThat(underTest.getStoreApi(), is("coreui_Repository.readReferencesAddingEntryForAll")); }