<?php

namespace Illuminate\Tests\Foundation;

use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Foundation\PackageAssetLoader;

class FoundationPackageAssetsTest extends TestCase
{
    public function tearDown()
    {
        m::close();
    }

    public function testAssetLoading()
    {
        $assetLoader = new PackageAssetLoader(new Filesystem, __DIR__ . '/fixtures/vendor');

        $this->assertEquals($assetLoader->get('providers'), ['foo', 'bar', 'baz']);
    }
}

<?php

namespace Illuminate\Tests\Foundation;

use PHPUnit\Framework\TestCase;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Foundation\PackageAssetLoader;

class FoundationPackageAssetsTest extends TestCase
{
    public function testAssetLoading()
    {
        $assetLoader = new PackageAssetLoader(new Filesystem, __DIR__ . '/fixtures/vendor');

        $this->assertEquals($assetLoader->get('providers'), ['foo', 'bar', 'baz']);
    }
}

Remove mockery call in test
Remove mockery call in test
