@@ -45,12 +45,18 @@ abstract public static function supportedMessagesProvider(): iterable;
4545 */
4646 abstract public static function unsupportedMessagesProvider (): iterable ;
4747
48+ /**
49+ * @dataProvider toStringProvider
50+ */
4851 #[DataProvider('toStringProvider ' )]
4952 public function testToString (string $ expected , TransportInterface $ transport )
5053 {
5154 $ this ->assertSame ($ expected , (string ) $ transport );
5255 }
5356
57+ /**
58+ * @dataProvider supportedMessagesProvider
59+ */
5460 #[DataProvider('supportedMessagesProvider ' )]
5561 public function testSupportedMessages (MessageInterface $ message , ?TransportInterface $ transport = null )
5662 {
@@ -59,6 +65,9 @@ public function testSupportedMessages(MessageInterface $message, ?TransportInter
5965 $ this ->assertTrue ($ transport ->supports ($ message ));
6066 }
6167
68+ /**
69+ * @dataProvider unsupportedMessagesProvider
70+ */
6271 #[DataProvider('unsupportedMessagesProvider ' )]
6372 public function testUnsupportedMessages (MessageInterface $ message , ?TransportInterface $ transport = null )
6473 {
@@ -67,6 +76,9 @@ public function testUnsupportedMessages(MessageInterface $message, ?TransportInt
6776 $ this ->assertFalse ($ transport ->supports ($ message ));
6877 }
6978
79+ /**
80+ * @dataProvider unsupportedMessagesProvider
81+ */
7082 #[DataProvider('unsupportedMessagesProvider ' )]
7183 public function testUnsupportedMessagesTrowUnsupportedMessageTypeExceptionWhenSend (MessageInterface $ message , ?TransportInterface $ transport = null )
7284 {
0 commit comments