public function testApiPop_ReturnsProperString()
{
$length = 10;
$result = $this->buffer->pop($length);
$this->assertSame(substr($this->initialString, -$length), $result);
$this->assertSame(substr($this->initialString, 0, -$length), (string) $this->buffer);
}