<commit_before><?php


namespace Radic\BladeExtensionsTests;

use Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider;
use Illuminate\Html\HtmlServiceProvider;
use Mockery as m;
use Orchestra\Testbench\TestCase as BaseTestCase;
use Radic\BladeExtensions\BladeExtensionsServiceProvider;
use Radic\BladeExtensions\Traits\BladeViewTestingTrait;
use TestData;


/**
 * Class ViewTest
 *
 * @author     <NAME>
 *
 */
class TestCase extends BaseTestCase
{
    use BladeViewTestingTrait


    /**
     * @var TestData
     */
    protected $data;

    public function setUp()
    {
        parent::setUp();
        require_once(__DIR__ . '/data/TestData.php');
        $this->data = new TestData();
    }

    /**
     * Adds assertion directives to blade and removes cached views
     */
    protected function loadViewTesting()
    {
        $this->addBladeViewTesting(__DIR__ . '/views');
        \File::delete(\File::glob(base_path('storage/framework/views') . '/*'));
    }

    /**
     * Registers the HtmlServiceProvider required for the macro directives
     */<commit_msg>Fixed unit test<commit_after><?php


namespace Radic\BladeExtensionsTests;

use Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider;
use Illuminate\Html\HtmlServiceProvider;
use Mockery as m;
use Orchestra\Testbench\TestCase as BaseTestCase;
use Radic\BladeExtensions\BladeExtensionsServiceProvider;
use Radic\BladeExtensions\Traits\BladeViewTestingTrait;
use TestData;


/**
 * Class ViewTest
 *
 * @author     <NAME>
 *
 */
class TestCase extends BaseTestCase
{
    use BladeViewTestingTrait;

    /**
     * @var TestData
     */
    protected $data;

    public function setUp()
    {
        parent::setUp();
        require_once(__DIR__ . '/data/TestData.php');
        $this->data = new TestData();
    }

    /**
     * Adds assertion directives to blade and removes cached views
     */
    protected function loadViewTesting()
    {
        $this->addBladeViewTesting(__DIR__ . '/views');
        \File::delete(\File::glob(base_path('storage/framework/views') . '/*'));
    }

    /**
     * Registers the HtmlServiceProvider required for the macro directives
     */
{'fraction_non_alphanumeric': 0.11209302325581395, 'fraction_numerical': 0.0, 'mean_word_length': 3.1525096525096523, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '2313268', 'n_tokens_mistral': 647, 'n_tokens_neox': 625, 'n_words': 136}