public function testApiPeek_ReturnsProperSubstring_WhenOffsetIsPassed()
{
$length = 10;
$offset = 5;
$result = $this->buffer->peek($length, $offset);
$this->assertSame(substr($this->initialString, $offset, $length), $result);
$this->assertSame($this->initialString, (string) $this->buffer);
}