@Test public void shouldSendGlobalHeartBeat_answerIsNo() { sharedPreferences.edit().putLong(GLOBAL, 1).apply(); assertThat(heartBeatInfoStorage.shouldSendGlobalHeartBeat(1)).isFalse(); }
synchronized boolean shouldSendGlobalHeartBeat(long millis) { return shouldSendSdkHeartBeat(GLOBAL, millis); }
HeartBeatInfoStorage { synchronized boolean shouldSendGlobalHeartBeat(long millis) { return shouldSendSdkHeartBeat(GLOBAL, millis); } }
HeartBeatInfoStorage { synchronized boolean shouldSendGlobalHeartBeat(long millis) { return shouldSendSdkHeartBeat(GLOBAL, millis); } private  HeartBeatInfoStorage(Context applicationContext); @VisibleForTesting @RestrictTo(RestrictTo.Scope.TESTS)  HeartBeatInfoStorage(SharedPreferences preferences); }
HeartBeatInfoStorage { synchronized boolean shouldSendGlobalHeartBeat(long millis) { return shouldSendSdkHeartBeat(GLOBAL, millis); } private  HeartBeatInfoStorage(Context applicationContext); @VisibleForTesting @RestrictTo(RestrictTo.Scope.TESTS)  HeartBeatInfoStorage(SharedPreferences preferences);  }
HeartBeatInfoStorage { synchronized boolean shouldSendGlobalHeartBeat(long millis) { return shouldSendSdkHeartBeat(GLOBAL, millis); } private  HeartBeatInfoStorage(Context applicationContext); @VisibleForTesting @RestrictTo(RestrictTo.Scope.TESTS)  HeartBeatInfoStorage(SharedPreferences preferences);   }