com.silverpeas.comment.service.notification
Class NotificationMatchers
java.lang.Object
com.silverpeas.comment.service.notification.NotificationMatchers
public final class NotificationMatchers
- extends Object
This class is an utilitary one that gather all matchers on NotificationMetaData objects and that
is dedicated to be use in JUnit assertion.
|
Method Summary |
static org.hamcrest.Matcher<Comment> |
isSetIn(NotificationMetaData notification)
A matcher on the presence of a comment in a notification message for all supported languages in
Silverpeas. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationMatchers
public NotificationMatchers()
isSetIn
public static org.hamcrest.Matcher<Comment> isSetIn(NotificationMetaData notification)
- A matcher on the presence of a comment in a notification message for all supported languages in
Silverpeas.
- Parameters:
notification - the notification message.
- Returns:
- the matcher with the specified notification message.
Copyright © 2016 Silverpeas. All Rights Reserved.