### Question:
CircularProgressLayoutController { void setIndeterminate(boolean indeterminate) { if (mIsIndeterminate == indeterminate) { return; } mIsIndeterminate = indeterminate; if (mIsIndeterminate) { if (mIsTimerRunning) { stopTimer(); } mLayout.getProgressDrawable().start(); } else { mLayout.getProgressDrawable().stop(); } } CircularProgressLayoutController(CircularProgressLayout layout); @Nullable CircularProgressLayout.OnTimerFinishedListener getOnTimerFinishedListener(); void setOnTimerFinishedListener(
            @Nullable CircularProgressLayout.OnTimerFinishedListener listener);  }### Answer:
@Test public void testSetIndeterminate() { mControllerUnderTest.setIndeterminate(true); assertEquals(true, mControllerUnderTest.isIndeterminate()); verify(mMockDrawable).start(); }