<commit_before><?php

/**
 * This file is part of tenside/core.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * This project is provided in good faith and hope to be usable by anyone.
 *
 * @package    tenside/core
 * @author     <NAME> <<EMAIL>>
 * @copyright  2015 <NAME> <<EMAIL>>
 * @license    https://github.com/tenside/core/blob/master/LICENSE MIT
 * @link       https://github.com/tenside/core
 * @filesource
 */

namespace Tenside\Core\Test\Composer;

use Tenside\Core\Config\TensideJsonConfig;
use Tenside\Core\Test\TestCase;
use Tenside\Core\Util\JsonArray;

/**
 * This class tests the tenside json handling.
 */
class TensideJsonConfigTest extends TestCase
{
    /**
     * Test provider.
     *
     * @return array
     */
    public function providerTestDelegation()
    {
        return [
            [
                'setSecret',
                'getSecret',
                'secret',
                '$ecret',
                null,
            ],
            [
                'setLocalDomain',<commit_msg>Fix namespace<commit_after><?php

/**
 * This file is part of tenside/core.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * This project is provided in good faith and hope to be usable by anyone.
 *
 * @package    tenside/core
 * @author     <NAME> <<EMAIL>>
 * @copyright  2015 <NAME> <<EMAIL>>
 * @license    https://github.com/tenside/core/blob/master/LICENSE MIT
 * @link       https://github.com/tenside/core
 * @filesource
 */

namespace Tenside\Core\Test\Config;

use Tenside\Core\Config\TensideJsonConfig;
use Tenside\Core\Test\TestCase;
use Tenside\Core\Util\JsonArray;

/**
 * This class tests the tenside json handling.
 */
class TensideJsonConfigTest extends TestCase
{
    /**
     * Test provider.
     *
     * @return array
     */
    public function providerTestDelegation()
    {
        return [
            [
                'setSecret',
                'getSecret',
                'secret',
                '$ecret',
                null,
            ],
            [
                'setLocalDomain',
{'fraction_non_alphanumeric': 0.11491228070175438, 'fraction_numerical': 0.0035087719298245615, 'mean_word_length': 2.0741239892183287, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 21, 'https://': 4, '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': '5614401', 'n_tokens_mistral': 685, 'n_tokens_neox': 670, 'n_words': 182}