title: How to use the method setup from PHPUnit in Laravel 5.8
body: <p>I used to use the method setup of PHPUnit to create a instance for my test methods. But in Laravel 5.8 I can't do it </p>
  
  <p>I've tried both ways, and it's works makes an instance per method how showed below.   </p>
  
  <p>This works:</p>
  
  <pre><code>&lt;?php
  
  namespace Tests\Unit;
  
  use Tests\TestCase;
  use Illuminate\Foundation\Testing\WithFaker;
  use Illuminate\Foundation\Testing\RefreshDatabase;
  use App\Service\MyService;
  
  class MyServiceTest extends TestCase
  {
      /**
       * A basic unit test example.
       *
       * @return void
       */
      public function testInstanceOf()
      {
          $myService = new MyService;
          $this-&gt;assertInstanceOf( 'App\Service\MyService' , $myService );
      }
  }
  
  
  </code></pre>
  
  <p>This doesn't works:</p>
  
  <pre><code>&lt;?php
  
  namespace Tests\Unit;
  
  use Tests\TestCase;
  use Illuminate\Foundation\Testing\WithFaker;
  use Illuminate\Foundation\Testing\RefreshDatabase;
  use App\Service\MyService;
  
  class MyServiceTest extends TestCase
  {
  
      private $instance;
  
      function setUp(){    
        $this-&gt;instance = new MyService;
      }
      /**
       * A basic unit test example.
       *
       * @return void
       */
      public function testInstanceOf()
      {
          $myService = $this-&gt;instance;
          $this-&gt;assertInstanceOf( 'App\Service\MyService' , $myService );
      }
  }
  
  </code></pre>
  
  <p>This error message below show in console:</p>
  
  <pre><code>PHP Fatal error:  Declaration of Tests\Unit\MyServiceTest::setUp() must be compatible with Illuminate\Foundation\Testing\TestCase::setUp(): void in /home/myproject/tests/Unit/MyServiceTest.php on line 10
  
  </code></pre>