'importance' => NotificationEmail::IMPORTANCE_HIGH,
'content' => 'Foo',
'exception' => true,
'action_text' => 'Bar',
'action_url' => 'http://example.com/',
'markdown' => false,
'raw' => true,
'a' => 'b',
'footer_text' => 'Notification email sent by Symfony',
],
$email->
getContext());
$this->
assertSame('@email/example/notification/body.html.twig',
$email->
getHtmlTemplate());
} public function testTheme() { $email =
(new NotificationEmail())->
theme('mine'
);
$this->
assertSame('@email/mine/notification/body.html.twig',
$email->
getHtmlTemplate());
$this->
assertSame('@email/mine/notification/body.txt.twig',
$email->
getTextTemplate());
} public function testSubject() {