@Test public void shouldBeInIdleModeWhenDeviceIsNotIgnoringBatteryOptimizations() {

  // given
  preparePowerManagerMocks(Boolean.TRUE, Boolean.FALSE);
  // when
  final boolean isIdleMode = strategy.isIdleMode(contextMock);
  // then
  assertThat(isIdleMode).isTrue();
}