use Symfony\Component\Notifier\Message\ChatMessage;
use Symfony\Component\Notifier\Message\SentMessage;
use Symfony\Component\Notifier\Message\SmsMessage;
final class SentMessageEventTest extends TestCase
{ /**
* @dataProvider messagesProvider
*/
public function testConstruct(SentMessage
$message, SentMessageEvent
$event) { $this->
assertEquals($event,
new SentMessageEvent($message));
} /**
* @dataProvider messagesProvider
*/
public function testGetMessage(SentMessage
$message, SentMessageEvent
$event) { $this->
assertSame($message,
$event->
getMessage());
} public static function messagesProvider(): iterable
{