public function testApiRemove_RemovesAndReturnsValidData_WhenInvalidOffsetIsPassed()
{
$length = 10;
$offset = -1;
$result = $this->buffer->remove($length, $offset);
$this->assertSame(substr($this->initialString, 0, $length), $result);
$this->assertSame(substr($this->initialString, $length), (string) $this->buffer);
}