@Test
@DisplayName("Return concrete interval of service-generated timestamps.")
public void giveConcreteIntervalOfServiceGeneratedTimestamps() {

  final MultivaluedHashMap<String, String> params = new MultivaluedHashMap<>();
  params.add("filter[from]", "1556302810");
  params.add("filter[type]", "landscape");
  final UriInfo ui = Mockito.mock(UriInfo.class);
  when(ui.getQueryParameters(true)).thenReturn(params);
  final List<Timestamp> resultList =
      (List<Timestamp>) this.timestampResource.getTimestamps(ui).getData();
  final List<Timestamp> expectedList = new ArrayList<>();
  expectedList.add(new Timestamp("2", 1556302810L, 400)); // NOCS
  expectedList.add(new Timestamp("3", 1556302820L, 500)); // NOCS
  expectedList.add(new Timestamp("4", 1556302830L, 600)); // NOCS
  expectedList.add(new Timestamp("5", 1556302840L, 700)); // NOCS
  expectedList.add(new Timestamp("6", 1556302850L, 800)); // NOCS
  assertEquals(this.reverse(expectedList),
      resultList,
      "Invalid return value for concrete interval of service-generated timestamps.");
}