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