@Test
public void shouldApplyReturnsFalseIfBatchesInFlightLowerThanConfigured() {

    // given
    BackoffPolicy<Object> policy = new BatchLimitBackoffPolicy<>(1);
    // when
    boolean result = policy.shouldApply(null);
    // then
    assertFalse(result);
}