public function testEncodeDecode()
 {
     $int = Base62Utils::decode('onPHP');
     $this->assertSame($int, 360312369);
     $str = Base62Utils::encode(360312369);
     $this->assertSame('onPHP', $str);
 }
 public static function setChars($chars)
 {
     self::check($chars);
     Assert::isEqual(mb_strlen($chars), 62, 'Wrong length');
     self::$chars = $chars;
 }