@Test
public void testGetTimeUsAtPosition_forPositionWithinStream_returnCorrectTime() {

  constantBitrateSeekMap =
      new ConstantBitrateSeekMap(
          /* inputLength= */ 2_300,
          /* firstFrameBytePosition= */ 100,
          /* bitrate= */ 8_000,
          /* frameSize= */ 100);
  long timeUs = constantBitrateSeekMap.getTimeUsAtPosition(1234);
  assertThat(timeUs).isEqualTo(1_134_000);
}