Skip to content

Commit 057d289

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: Minor [Notifier] add notification assertion in notifier doc
2 parents a2cc46c + 3e960bc commit 057d289

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

notifier.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,21 @@ typical alert levels, which you can implement immediately using:
776776
;
777777
};
778778
779+
Testing Notifier
780+
----------------
781+
782+
Symfony provides a :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\NotificationAssertionsTrait`
783+
which provide useful methods for testing your Notifier implementation.
784+
You can benefit from this class by using it directly or extending the
785+
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase`.
786+
787+
See :ref:`testing documentation <notifier-assertions>` for the list of available assertions.
788+
789+
.. versionadded:: 6.2
790+
791+
The :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\NotificationAssertionsTrait`
792+
was introduced in Symfony 6.2.
793+
779794
Disabling Delivery
780795
------------------
781796

0 commit comments

Comments
 (0)