<?php
/**
 * CakeCMS Core
 *
 * This file is part of the of the simple cms based on CakePHP 3.
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @package   Core
 * @license   MIT
 * @copyright MIT License http://www.opensource.org/licenses/mit-license.php
 * @link      https://github.com/CakeCMS/Core".
 * @author    Sergey Kalistratov <kalistratov.s.m@gmail.com>
 */

namespace Test\App\Html;

/**
 * Class HtmlApplication
 *
 * @package Test\App\Html
 */
class HtmlApplication
{

    /**
     * @return string
     */
    public function getFunctionName()
    {
        return __FUNCTION__;
    }
}

<?php
/**
 * CakeCMS Core
 *
 * This file is part of the of the simple cms based on CakePHP 3.
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @package   Core
 * @license   MIT
 * @copyright MIT License http://www.opensource.org/licenses/mit-license.php
 * @link      https://github.com/CakeCMS/Core".
 * @author    Sergey Kalistratov <kalistratov.s.m@gmail.com>
 */

namespace Test\App\Html;

/**
 * Class HtmlApplication
 *
 * @package Test\App\Html
 */
class HtmlApplication
{

    /**
     * @return string
     */
    public static function getFunctionName()
    {
        return __FUNCTION__;
    }
}

Set static method for test
Set static method for test
