com.silverpeas.comment.service.notification
Class NotificationMatchers

java.lang.Object
  extended by 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.


Constructor Summary
NotificationMatchers()
           
 
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
 

Constructor Detail

NotificationMatchers

public NotificationMatchers()
Method Detail

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.