<commit_before><?php

namespace RcmTest\Base;

require_once __DIR__ . '/Zf2TestCase.php';

use Rcm\Entity\Country;
use Rcm\Entity\Language;
use Rcm\Entity\Site;

class BaseTestCase extends Zf2TestCase
{

    public function getSiteMock()
    {
        $site = new Site();
        $site->setLanguage($this->getLanguageMock());
        $site->setCountry($this->getCountryMock());
    }

    public function getCountryMock()
    {
        $country = new Country();
        $country->setCountryName('United States');
        $country->setIso2('US');
        $country->setIso3('USA');

        return $country;
    }

    public function getLanguageMock()
    {
        $language = new Language();
        $language->setLanguageName('English');
        $language->setIso6391('en');
        $language->setIso6392b('eng');
        $language->setIso6392t('eng');

        return $language;
    }<commit_msg>prevent test warnign msg<commit_after><?php

namespace RcmTest\Base;

require_once __DIR__ . '/Zf2TestCase.php';

use Rcm\Entity\Country;
use Rcm\Entity\Language;
use Rcm\Entity\Site;

class BaseTestCase extends Zf2TestCase
{

    public function getSiteMock()
    {
        $site = new Site();
        $site->setLanguage($this->getLanguageMock());
        $site->setCountry($this->getCountryMock());
    }

    public function getCountryMock()
    {
        $country = new Country();
        $country->setCountryName('United States');
        $country->setIso2('US');
        $country->setIso3('USA');

        return $country;
    }

    public function getLanguageMock()
    {
        $language = new Language();
        $language->setLanguageName('English');
        $language->setIso6391('en');
        $language->setIso6392b('eng');
        $language->setIso6392t('eng');

        return $language;
    }

    /**
     * Prevent warning when testing individual suites like:
     * No tests found in class "RcmTest\Base\Zf2TestCase".
     */
    public function testNothing(){
        $this->assertTrue(true);
    }
{'fraction_non_alphanumeric': 0.1421495789995047, 'fraction_numerical': 0.01634472511144131, 'mean_word_length': 2.740740740740741, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 26, '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': '1177276', 'n_tokens_mistral': 626, 'n_tokens_neox': 600, 'n_words': 116}