### Question:
TimeOnlyMode implements PowerTracker.Listener { public void addListener(Listener listener) { mListeners.add(listener); } TimeOnlyMode(Context context);  TimeOnlyMode(ContentResolver contentResolver, PowerTracker powerTracker); void addListener(Listener listener); @Override void onPowerSaveModeChanged(); @Override void onChargingStateChanged(); boolean isInTimeOnlyMode(); boolean isHomeDisabled(); boolean isTiltToWakeDisabled(); boolean isTouchToWakeDisabled(); void registerContentObserver(ContentObserver contentObserver); void unregisterContentObserver(ContentObserver contentObserver);  }### Answer:
@Test public void testConstructorListensToPowerTracker() { verify(mockPowerTracker).addListener(timeOnlyMode); }