@Test
public void getFrameStartMarker_doesNotUpdateReadPositionAndAlignsPeekPosition()
    throws Exception {

  ExtractorInput input = buildExtractorInput("flac/bear.flac");
  int firstFramePosition = 8880;
  input.skipFully(firstFramePosition);
  // Advance the peek position after the frame start marker.
  input.advancePeekPosition(3);
  FlacMetadataReader.getFrameStartMarker(input);
  assertThat(input.getPosition()).isEqualTo(firstFramePosition);
  assertThat(input.getPeekPosition()).isEqualTo(input.getPosition());
}