/** * Tests buffer long methods. */ public function testLong() { $buffer = new Buffer(self::ALPHABET); $buffer->appendLong(10000); $int = $buffer->getLong(26); $this->assertEquals($int, 10000); $this->complete(); }