@Test
public void testGetSeekPointsAtEndOfStream() {

  SeekPoints seekPoints = seeker.getSeekPoints(STREAM_DURATION_US);
  SeekPoint seekPoint = seekPoints.first;
  assertThat(seekPoint).isEqualTo(seekPoints.second);
  assertThat(seekPoint.timeUs).isEqualTo(STREAM_DURATION_US);
  assertThat(seekPoint.position).isEqualTo(STREAM_LENGTH - 1);
}