@@ -32,6 +32,12 @@ Now here is the example with the assertions specific to Symfony::
32
32
Assertions Reference
33
33
---------------------
34
34
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
+
35
41
Response
36
42
~~~~~~~~
37
43
@@ -72,10 +78,26 @@ Crawler
72
78
- ``assertInputValueSame() ``
73
79
- ``assertInputValueNotSame() ``
74
80
81
+ Mailer
DCFA
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
+
75
99
.. versionadded :: 4.4
76
100
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.
80
102
81
103
.. _`symfony/panther` : https://github.com/symfony/panther
0 commit comments