use Symfony\Component\Notifier\Transport\NullTransport;
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use Symfony\Contracts\HttpClient\HttpClientInterface;
class FailedMessageEventTest extends TestCase
{ /**
* @dataProvider messagesProvider
*/
public function testConstruct(MessageInterface
$message, \Throwable
$error, FailedMessageEvent
$event) { $this->
assertEquals($event,
new FailedMessageEvent($message,
$error));
} /**
* @dataProvider messagesProvider
*/
public function testGetMessage(MessageInterface
$message, \Throwable
$error, FailedMessageEvent
$event) { $this->
assertSame($message,
$event->
getMessage());
} /**
* @dataProvider messagesProvider
*/