<commit_before><?php
/**
 * @author           <NAME> <<EMAIL>>
 * @copyright        (c) 2017-2018, <NAME>. All Rights Reserved.
 * @license          GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
 * @package          PH7 / Test / Unit / Framework / Ajax
 */

namespace PH7\Test\Unit\Framework\Ajax;

use PH7\Framework\Ajax\Ajax;

class AjaxTest extends \PHPUnit_Framework_TestCase
{
    public function testJsonMsg()
    {
        $sActualResult = Ajax::jsonMsg(1, 'Yaaay!');
        $this->assertSame('{"status":1,"txt":"Yaaay!"}', $sActualResult);
    }
}<commit_msg>Import namespace<commit_after><?php
/**
 * @author           <NAME> <<EMAIL>>
 * @copyright        (c) 2017-2018, <NAME>. All Rights Reserved.
 * @license          GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
 * @package          PH7 / Test / Unit / Framework / Ajax
 */

namespace PH7\Test\Unit\Framework\Ajax;

use PH7\Framework\Ajax\Ajax;
use PHPUnit_Framework_TestCase;

class AjaxTest extends PHPUnit_Framework_TestCase
{
    public function testJsonMsg()
    {
        $sActualResult = Ajax::jsonMsg(1, 'Yaaay!');
        $this->assertSame('{"status":1,"txt":"Yaaay!"}', $sActualResult);
    }
}
{'fraction_non_alphanumeric': 0.1439873417721519, 'fraction_numerical': 0.023734177215189875, 'mean_word_length': 3.067524115755627, 'pattern_counts': {'":': 4, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, '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': '4138119', 'n_tokens_mistral': 426, 'n_tokens_neox': 404, 'n_words': 95}