BackOff { public boolean hasNext() { return mRetry <= MAX_RETRY_COUNT; } BackOff(Context context); static BackOff getInstance(Context context); boolean hasNext();  }
@Test public void testHasNext() { assertEquals(mBackOff.hasNext(), true); }