<?php

declare(strict_types=1);

/**
 * This file is part of the Zephir.
 *
 * (c) Phalcon Team <team@zephir-lang.com>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace Extension\BuiltIn;

use PHPUnit\Framework\TestCase;
use Stub\BuiltIn\CharMethods;

final class CharMethodTest extends TestCase
{
    public function testModifications(): void
    {
        $charm = new CharMethods();

        $this->assertSame('61', $charm->getHex());
        $this->assertSame('68656C6C6F', $charm->getHexForString('hello'));
    }
}
