The test environment is enabled in the
Tests\TestCase
class via the
createApplication()
method, but not in the
PHPUnit\Framework\TestCase
class.
So why then when the artisan creates a new test that extends from
PHPUnit\Framework\TestCase
class?