### Question:
SolrManager extends BaseSearchManager implements Initializable { @Override public void saveAll() { Component component = new Component(); component.setActiveStatus(Component.ACTIVE_STATUS); component.setApprovalState(ApprovalStatus.APPROVED); List<Component> components = component.findByExample(); index(components); } protected  SolrManager(PropertiesManager propManager, SolrClient client); static SolrManager getInstance(); static SolrManager getInstance(PropertiesManager propertiesManager, SolrClient client); void init(); void cleanup(); SolrClient getServer(); @Override void initialize(); @Override void shutdown(); @Override boolean isStarted(); @Override ComponentSearchWrapper search(SearchQuery searchQuery, FilterQueryParams filter); @Override void index(List<Component> components); @Override IndexSearchResult doIndexSearch(String query, FilterQueryParams filter); @Override IndexSearchResult doIndexSearch(String query, FilterQueryParams filter, String[] addtionalFieldsToReturn); @Override List<SearchSuggestion> searchSuggestions(String query, int maxResult, String componentType); @Override void deleteById(String id); @Override void deleteAll(); @Override void saveAll(); @Override void resetIndexer(); static final String SOLR_ALL_QUERY; static final String SOLR_QUERY_SEPERATOR; }### Answer:
@Test public void testSaveAll() { }