title: Laravel PHP Unit Testing
body: <p>I am just testing my laravel app with phpunit 
  When i run <code>vendor/bin/phpunit</code> i am getting error like below <code>Error: Call to undefined method ExampleTest::assertStatus()</code> </p>
  
  <p>Below is the code i was trying to execute </p>
  
  <pre><code>$response = $this-&gt;json('POST', '/users', ['customer_name' =&gt; 'Ratke-Harris']);
  
          $response
              -&gt;assertStatus(200)
              -&gt;assertExactJson([
                  'created' =&gt; true,
              ]);
  </code></pre>
  
  <p>As per the laravel docs , even there they have mentioned the same example. I don't understand why it is throwing  error.</p>
  
  <p>Any ideas ? Please.</p>