Skip to content

Commit 38d03e1

Browse files
committed
add notification assertion in notifier doc
1 parent 53f433d commit 38d03e1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

notifier.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,15 @@ typical alert levels, which you can implement immediately using:
759759
;
760760
};
761761
762+
Testing Notifier
763+
----------------
764+
765+
With FrameworkBundle Symfony provide a :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\NotificationAssertionsTrait`
766+
which provide useful methods for testing your Notifier implementation.
767+
You can benefit from this class by using it directly or extending :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase`.
768+
769+
See :ref:`testing documentation <notifier-assertions>` for list of availables assertions.
770+
762771
Disabling Delivery
763772
------------------
764773

0 commit comments

Comments
 (0)