Closed gam6itko closed 1 year ago
It will be very useful to get all valid messages after assertion.
$messages = $fakeMailer->assertSent(Message::class, function (Message $message): bool { return \in_array('user@bc.local', $message->getTo()); }); // ... do things with messages
It will be very useful to get all valid messages after assertion.