final class GoIpTransportTest extends TransportTestCase
{ public static function toStringProvider(): iterable
{ yield ['goip://host.test:4000?sim_slot=4', self::
createTransport()];
} public static function createTransport(HttpClientInterface
$client = null
): GoIpTransport
{ return (new GoIpTransport('user', 'pass', 4,
$client ??
new MockHttpClient())) ->
setHost('host.test'
) ->
setPort(4000
);
} public static function supportedMessagesProvider(): iterable
{ $message =
new SmsMessage('0611223344', 'Hello!'
);
$message->
options((new GoIpOptions())->
setSimSlot(3
));
yield [$message];
}