### Question:
DefaultSolrConfiguration implements SolrConfiguration { @Override public boolean synchronizeAtStartup() { return this.configuration.getProperty(SOLR_SYNCHRONIZE_AT_STARTUP, SOLR_SYNCHRONIZE_AT_STARTUP_DEFAULT); }  @Override String getServerType(); @Override T getInstanceConfiguration(String instanceType, String propertyName, T defaultValue); @Override InputStream getSearchCoreDefaultContent(); @Override InputStream getMinimalCoreDefaultContent(); @Override int getIndexerBatchSize(); @Override int getIndexerBatchMaxLengh(); @Override int getIndexerQueueCapacity(); @Override boolean synchronizeAtStartup(); @Override String getHomeDirectory(); @Override String getDefaultHomeDirectory(); @Override SynchronizeAtStartupMode synchronizeAtStartupMode(); static final String SOLR_TYPE_PROPERTY; static final String SOLR_TYPE_DEFAULT; @Deprecated
    static final String DEFAULT_SOLR_TYPE; static final String CLASSPATH_LOCATION_PREFIX; static final String CONF_DIRECTORY; static final String CONF_FILE_LOCATION_PATTERN; static final String[] HOME_DIRECTORY_FILE_NAMES; static final String HOME_DIRECTORY_CORE_PACKAGE; static final String HOME_DIRECTORY_PREFIX; static final String SOLR_INDEXER_BATCH_SIZE_PROPERTY; static final int SOLR_INDEXER_BATCH_SIZE_DEFAULT; static final String SOLR_INDEXER_BATCH_MAXLENGH_PROPERTY; static final int SOLR_INDEXER_BATCH_MAXLENGH_DEFAULT; static final String SOLR_INDEXER_QUEUE_CAPACITY_PROPERTY; static final int SOLR_INDEXER_QUEUE_CAPACITY_DEFAULT; static final String SOLR_SYNCHRONIZE_AT_STARTUP; static final boolean SOLR_SYNCHRONIZE_AT_STARTUP_DEFAULT; static final String SOLR_SYNCHRONIZE_AT_STARTUP_MODE; static final SynchronizeAtStartupMode SOLR_SYNCHRONIZE_AT_STARTUP_MODE_DEFAULT; }### Answer:
@Test public void synchronizeAtStartup() { when(this.source.getProperty(DefaultSolrConfiguration.SOLR_SYNCHRONIZE_AT_STARTUP, DefaultSolrConfiguration.SOLR_SYNCHRONIZE_AT_STARTUP_DEFAULT)).thenReturn(true); assertTrue(this.configuration.synchronizeAtStartup()); when(this.source.getProperty(DefaultSolrConfiguration.SOLR_SYNCHRONIZE_AT_STARTUP, DefaultSolrConfiguration.SOLR_SYNCHRONIZE_AT_STARTUP_DEFAULT)).thenReturn(false); assertFalse(this.configuration.synchronizeAtStartup()); }