public function shift($length);
public function testApiShift_DoesNotChangeBufferState_WhenNegativeLengthIsPassed() { $length = -1; $result = $this->buffer->shift($length); $this->assertSame('', $result); $this->assertSame($this->initialString, (string) $this->buffer); }