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

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

public testOffsetExists ( )
    public function testOffsetExists()
    {
        $this->assertTrue($this->buffer->offsetExists(0));
        $this->assertTrue($this->buffer->offsetExists(strlen($this->initialString) - 1));
        $this->assertFalse($this->buffer->offsetExists(strlen($this->initialString)));
        $this->assertFalse($this->buffer->offsetExists(-1));
    }