<commit_before><?php

namespace Gedmo\Sluggable;

use Doctrine\Common\EventManager;
use Tool\BaseTestCaseORM;
use Sluggable\Fixture\Inheritance2\SportCar;
use Sluggable\Fixture\Inheritance2\Car;
use Sluggable\Fixture\Inheritance2\Vehicle;

/**
 * Tests for Sluggable behavior
 *
 */
class InheritanceTest extends BaseTestCaseORM
{
    const VEHICLE = 'Sluggable\\Fixture\\Inheritance2\\Vehicle';
    const CAR = 'Sluggable\\Fixture\\Inheritance2\\Car';
    const SPORTCAR = 'Sluggable\\Fixture\\Inheritance2\\SportCar';

    protected function setUp()
    {
        parent::setUp();

        $evm = new EventManager;
        $evm->addEventSubscriber(new SluggableListener);

        $this->getMockSqliteEntityManager($evm);<commit_msg>Update Inheritance2Test.php<commit_after><?php

namespace Gedmo\Sluggable;

use Doctrine\Common\EventManager;
use Tool\BaseTestCaseORM;
use Sluggable\Fixture\Inheritance2\SportCar;
use Sluggable\Fixture\Inheritance2\Car;
use Sluggable\Fixture\Inheritance2\Vehicle;

/**
 * Tests for Sluggable behavior
 *
 */
class Inheritance2Test extends BaseTestCaseORM
{
    const VEHICLE = 'Sluggable\\Fixture\\Inheritance2\\Vehicle';
    const CAR = 'Sluggable\\Fixture\\Inheritance2\\Car';
    const SPORTCAR = 'Sluggable\\Fixture\\Inheritance2\\SportCar';

    protected function setUp()
    {
        parent::setUp();

        $evm = new EventManager;
        $evm->addEventSubscriber(new SluggableListener);

        $this->getMockSqliteEntityManager($evm);
{'fraction_non_alphanumeric': 0.1164983164983165, 'fraction_numerical': 0.009427609427609427, 'mean_word_length': 4.071672354948806, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2639235', 'n_tokens_mistral': 524, 'n_tokens_neox': 500, 'n_words': 80}