File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff 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+
779794Disabling Delivery
780795------------------
781796
You can’t perform that action at this time.
0 commit comments