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:
776
776
;
777
777
};
778
778
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
+
779
794
Disabling Delivery
780
795
------------------
781
796
You can’t perform that action at this time.
0 commit comments