namespace App\Tests; use Artisan; use DB; use Mockery as m; class TestCase extends \Illuminate\Foundation\Testing\TestCase { /** * データベースの利用フラグ */ protected $useDatabase = true; /** * Creates the application. * * @return Symfony\Component\HttpKernel\HttpKernelInterface */ public function createApplication() { $unitTesting = true; $testEnvironment = 'testing'; return require __DIR__.'/../../bootstr