Kraken\_Unit\Util\Buffer\BufferTest::testApiRemove_RemovesNothingAndReturnsEmptyString_WhenInvalidLengthIsPassed PHP Метод

testApiRemove_RemovesNothingAndReturnsEmptyString_WhenInvalidLengthIsPassed() публичный Метод

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