<commit_before><?php

use Aedart\Testing\Laravel\Traits\TestHelperTrait;
use Codeception\TestCase\Test;
use Faker\Factory;
use Illuminate\Support\Facades\Facade;

/**
 * Class Trait-Test Case
 *
 * Base test case class for testing the traits of this package
 *
 * @author <NAME> <<EMAIL>>
 * @package unit\testCases
 */
abstract class TraitTestCase extends Test{

    use TestHelperTrait;

    /**
     * @var \UnitTester
     */
    protected $tester;

    /**
     * @var Faker\Generator
     */
    protected $faker = null;

    protected function _before()
    {
        $this->faker = Factory::create();

        $this->startApplication();
    }

    protected function _after()
    {
        $this->stopLaravel();
    }

    /***********************************************************
     * Helpers and utilities
     **********************************************************/

    /**
     * Stop the laravel application, clear any resolved instances
     * from the Facades and reset the Facades' application
     * instance
     */
    protected function stopLaravel(){
        $this->stopApplication();

        Facade::clearResolvedInstances();
        Facade::setFacadeApplication(null);
    }
<commit_msg>TraitTestCase now extends the Unit-TestCase (with Laravel)<commit_after><?php

use Aedart\Testing\Laravel\TestCases\unit\UnitWithLaravelTestCase;
use Illuminate\Support\Facades\Facade;

/**
 * Class Trait-Test Case
 *
 * Base test case class for testing the traits of this package
 *
 * @author <NAME> <<EMAIL>>
 * @package unit\testCases
 */
abstract class TraitTestCase extends UnitWithLaravelTestCase{

    /***********************************************************
     * Helpers and utilities
     **********************************************************/

    /**
     * Stop the laravel application, clear any resolved instances
     * from the Facades and reset the Facades' application
     * instance
     */
    protected function stopLaravel(){
        $this->stopApplication();

        Facade::clearResolvedInstances();
        Facade::setFacadeApplication(null);
    }

{'fraction_non_alphanumeric': 0.20483641536273114, 'fraction_numerical': 0.0, 'mean_word_length': 3.2886178861788617, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 14, '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': '6598804', 'n_tokens_mistral': 574, 'n_tokens_neox': 549, 'n_words': 141}