title: Laravel implement assertSentFrom specific address Mailable Testing
body: <p>Trying to get to grips with Mocking and test cases, I want to test that a Mailable <code>TestMail</code> is sent <em>from</em> company@company.com, the documentation provides <code>hasTo</code>, <code>hasCc</code>, and <code>hasBcc</code> but doesn't look like it uses something like <code>hasFrom</code>. Is there any solutions to this?</p>
  <p><a href="https://laravel.com/docs/9.x/mocking#mail-fake" rel="nofollow noreferrer">https://laravel.com/docs/9.x/mocking#mail-fake</a></p>
  <pre><code>public function testEmailAlwaysFrom()
  {
  
      Mail::fake();
  
      Mail::to('foo@bar.com')-&gt;send(new TestMail);
  
      Mail::assertSent(TestMail::class, function ($mail) {
          return assertEquals('company@company.com', $mail-&gt;getFrom());
          // return $mail-&gt;hasTo($user-&gt;email) &amp;&amp;
          //     $mail-&gt;hasCc('...') &amp;&amp;
          //     $mail-&gt;hasBcc('...');
      });
  
  }
  </code></pre>