@Test
public void applyExponentialBackOffToListOfDevicesWithCommunicationTimestampYoungerThan1HourAnd2ConnectionFailures() {

    final List<Device> devices = new ArrayList<>();
    devices.add(this.createDevice("device-06", DateTime.now(DateTimeZone.UTC).minusHours(1).toDate(), 2));
    final List<Device> filteredList = this.task.filterByExponentialBackOff(devices);
    assertThat(filteredList.size()).isEqualTo(0);
}