@@ -32,6 +32,12 @@ Now here is the example with the assertions specific to Symfony::
3232Assertions Reference
3333---------------------
3434
35+ .. versionadded :: 4.4
36+
37+ Starting from Symfony 4.4, when using `symfony/panther `_ for end-to-end
38+ testing, you can use all the following assertions except the ones related to
39+ the :doc: `Crawler </components/dom_crawler >`.
40+
3541Response
3642~~~~~~~~
3743
@@ -72,10 +78,26 @@ Crawler
7278- ``assertInputValueSame() ``
7379- ``assertInputValueNotSame() ``
7480
81+ Mailer
82+ ~~~~~~
83+
84+ - ``assertEmailCount() ``
85+ - ``assertQueuedEmailCount() ``
86+ - ``assertEmailIsQueued() ``
87+ - ``assertEmailIsNotQueued() ``
88+ - ``assertEmailAttachementCount() ``
89+ - ``assertEmailTextBodyContains() ``
90+ - ``assertEmailTextBodyNotContains() ``
91+ - ``assertEmailHtmlBodyContains() ``
92+ - ``assertEmailHtmlBodyNotContains() ``
93+ - ``assertEmailHasHeader() ``
94+ - ``assertEmailNotHasHeader() ``
95+ - ``assertEmailHeaderSame() ``
96+ - ``assertEmailHeaderNotSame() ``
97+ - ``assertEmailAddressContains() ``
98+
7599.. versionadded :: 4.4
76100
77- Starting from Symfony 4.4, when using `symfony/panther `_ for end-to-end
78- testing, you can use all the above assertions except the ones related to
79- the :doc: `Crawler </components/dom_crawler >`.
101+ The mailer assert methods were introduced in Symfony 4.4.
80102
81103.. _`symfony/panther` : https://github.com/symfony/panther
0 commit comments