public static function toStringProvider(): iterable
{ yield ['messagemedia://api.messagemedia.com', self::
createTransport()];
yield ['messagemedia://api.messagemedia.com?from=TEST', self::
createTransport(null, 'TEST'
)];
} public static function supportedMessagesProvider(): iterable
{ yield [new SmsMessage('0491570156', 'Hello!'
)];
yield [new SmsMessage('0491570156', 'Hello!', 'from',
new MessageMediaOptions(['from' => 'foo'
]))];
} public static function unsupportedMessagesProvider(): iterable
{ yield [new ChatMessage('Hello!'
)];
yield [new DummyMessage()];
} /**
* @dataProvider exceptionIsThrownWhenHttpSendFailedProvider
*
* @throws TransportExceptionInterface
*/