<commit_before><?php

namespace Kunstmaan\RedirectBundle\Tests\DependencyInjection;

use Kunstmaan\SeoBundle\DependencyInjection\KunstmaanSeoExtension;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Kunstmaan\AdminBundle\Tests\AbstractPrependableExtensionTestCase;

/**
 * Class KunstmaanSeoExtensionTest
 */
class KunstmaanSeoExtensionTest extends AbstractPrependableExtensionTestCase
{
    /**
     * @return ExtensionInterface[]
     */
    protected function getContainerExtensions()
    {
        return [new KunstmaanSeoExtension()];
    }


    public function testCorrectParametersHaveBeenSet()
    {
        $this->container->setParameter('empty_extension', true);
        $this->load();

        $this->assertContainerBuilderHasParameter('empty_extension', true );
    }
}<commit_msg>[AdminBundle][AdminListBundle] [Tests] fix namespace tests and refactor mocks (#2108)<commit_after><?php

namespace Kunstmaan\RedirectBundle\Tests\DependencyInjection;

use Kunstmaan\SeoBundle\DependencyInjection\KunstmaanSeoExtension;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Kunstmaan\AdminBundle\Tests\unit\AbstractPrependableExtensionTestCase;

/**
 * Class KunstmaanSeoExtensionTest
 */
class KunstmaanSeoExtensionTest extends AbstractPrependableExtensionTestCase
{
    /**
     * @return ExtensionInterface[]
     */
    protected function getContainerExtensions()
    {
        return [new KunstmaanSeoExtension()];
    }


    public function testCorrectParametersHaveBeenSet()
    {
        $this->container->setParameter('empty_extension', true);
        $this->load();

        $this->assertContainerBuilderHasParameter('empty_extension', true );
    }
}
{'fraction_non_alphanumeric': 0.0963435867672664, 'fraction_numerical': 0.0023215322112594312, 'mean_word_length': 4.863945578231292, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '5627058', 'n_tokens_mistral': 466, 'n_tokens_neox': 467, 'n_words': 70}