<commit_before><?php
/**
 * @copyright Bluz PHP Team
 * @link      https://github.com/bluzphp/skeleton
 */

/**
 * @namespace
 */

namespace Bluz\Tests\Proxy;

use Bluz\Router\Router as Target;
use Bluz\Proxy\Router as Proxy;
use Bluz\Tests\FrameworkTestCase;

/**
 * Proxy Test
 *
 * @package  Bluz\Tests\Proxy
 * @author   <NAME>
 */
class RouterTest extends FrameworkTestCase
{
    public function testGetProxyInstance()
    {
        self::assertInstanceOf(Target::class, Proxy::getInstance());
    }
}<commit_msg>Added test for `Proxy\Router`<commit_after><?php
/**
 * @copyright Bluz PHP Team
 * @link      https://github.com/bluzphp/skeleton
 */

/**
 * @namespace
 */

namespace Bluz\Tests\Proxy;

use Bluz\Router\Router as Target;
use Bluz\Proxy\Router as Proxy;
use Bluz\Tests\FrameworkTestCase;

/**
 * Proxy Test
 *
 * @package  Bluz\Tests\Proxy
 * @author   <NAME>
 */
class RouterTest extends FrameworkTestCase
{
    public function testGetAlreadyInitedProxyInstance()
    {
        self::assertInstanceOf(Target::class, Proxy::getInstance());
    }

    /**
     * @expectedException \Bluz\Common\Exception\ComponentException
     */
    public function testLazyInitialInstanceShouldThrowError()
    {
        Proxy::resetInstance();
        Proxy::getInstance();
    }
}
{'fraction_non_alphanumeric': 0.13374805598755832, 'fraction_numerical': 0.0, 'mean_word_length': 3.377551020408163, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4716423', 'n_tokens_mistral': 403, 'n_tokens_neox': 397, 'n_words': 80}