@Test
public void applyExponentialBackOffToListOfDevicesWithCommunicationTimestampYoungerThan2HoursAnd1ConnectionFailure() {

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