set('mail.mailers.azure', [ 'transport' => 'azure', 'tenant_id' => 'test-tenant', 'client_id' => 'test-client-id', 'client_secret' => 'test-secret', 'from_address' => 'sender@example.com', ]); } public function test_azure_transport_is_registered_with_mail_manager(): void { $manager = $this->app->make(MailManager::class); $transport = $manager->mailer('azure')->getSymfonyTransport(); $this->assertInstanceOf(AzureTransport::class, $transport); $this->assertSame('azure', (string) $transport); } }