### Question:
ConfigMetadataClient { BackoffMetadata getBackoffMetadata() { synchronized (backoffMetadataLock) { return new BackoffMetadata( frcMetadata.getInt(NUM_FAILED_FETCHES_KEY, NO_FAILED_FETCHES), new Date(frcMetadata.getLong(BACKOFF_END_TIME_IN_MILLIS_KEY, NO_BACKOFF_TIME_IN_MILLIS))); } } ConfigMetadataClient(SharedPreferences frcMetadata); boolean isDeveloperModeEnabled(); long getFetchTimeoutInSeconds(); long getMinimumFetchIntervalInSeconds(); FirebaseRemoteConfigInfo getInfo(); @WorkerThread void clear(); @WorkerThread void setConfigSettings(FirebaseRemoteConfigSettings settings); void setConfigSettingsWithoutWaitingOnDiskWrite(FirebaseRemoteConfigSettings settings); @VisibleForTesting static final long LAST_FETCH_TIME_IN_MILLIS_NO_FETCH_YET; }### Answer:
@Test public void getBackoffMetadata_isNotSet_returnsNoFailedFetchesAndNotThrottled() { BackoffMetadata defaultBackoffMetadata = metadataClient.getBackoffMetadata(); assertThat(defaultBackoffMetadata.getNumFailedFetches()).isEqualTo(NO_FAILED_FETCHES); assertThat(defaultBackoffMetadata.getBackoffEndTime()).isEqualTo(NO_BACKOFF_TIME); }