use Symfony\Component\Notifier\Tests\Transport\DummyMessage;
use Symfony\Contracts\HttpClient\HttpClientInterface;
use Symfony\Contracts\HttpClient\ResponseInterface;
/**
* @author Mickael Perraud <mikaelkael.fr@gmail.com>
*/
final class NtfyTransportTest extends TransportTestCase
{ public static function createTransport(HttpClientInterface
$client = null
): NtfyTransport
{ return new NtfyTransport('test', true,
$client ??
new MockHttpClient());
} public static function toStringProvider(): iterable
{ yield ['ntfy://ntfy.sh/test', self::
createTransport()];
} public static function supportedMessagesProvider(): iterable
{ yield [new PushMessage('Hello!', 'Symfony Notifier'
)];
}