@Test
public void testMultipleMarkersInSameWindow() {

  // First two markers are in the same time window
  // The second marker should be skipped, but the first and third should still be present
  recording.addMarker(new Marker("First", "", MarkerImportance.LOW, 0L));
  recording.addMarker(new Marker("Second", "", MarkerImportance.CRITICAL, 0L));
  recording.addMarker(new Marker("Third", "", MarkerImportance.NORMAL, 255));
  String csv = converter.convertToCsv(recording);
  var lines = csv.lines().collect(Collectors.toList());
  assertAll(
      () -> assertEquals(EMPTY_HEADER, lines.get(0), "First line should be the header"),
      () -> assertEquals("0,First,,LOW", lines.get(1), "Second line should be the first marker"),
      () -> assertEquals("255,Third,,NORMAL", lines.get(2), "Third line should be the third marker")
  );
}