'title' =>
$subject,
'text' =>
$content,
'@type' => 'MessageCard',
'@context' => 'https://schema.org/extensions',
],
MicrosoftTeamsOptions::
fromNotification($notification)->
toArray() );
} public function testGetRecipientIdReturnsRecipientWhenSetViaConstructor() { $options =
new MicrosoftTeamsOptions([ 'recipient_id' =>
$recipient = '/webhookb2/foo',
]);
$this->
assertSame($recipient,
$options->
getRecipientId());
} public function testGetRecipientIdReturnsRecipientWhenSetSetter() { $options =
(new MicrosoftTeamsOptions()) ->
recipient($recipient = '/webhookb2/foo'
);