title: How to test validation errors throw exact error and message in laravel unit tests
body: <p>How to test specific validation errors in php unit thrown in validation error ?
  with below code we could check session has errors, but not the exact error</p>
  
  <pre><code>$this-&gt;assertSessionHasErrors();
  </code></pre>