com.silverpeas.comment.web
Class CommentEntityMatcher
java.lang.Object
org.hamcrest.BaseMatcher<CommentEntity>
com.silverpeas.comment.web.CommentEntityMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<CommentEntity>, org.hamcrest.SelfDescribing
public class CommentEntityMatcher
- extends org.hamcrest.BaseMatcher<CommentEntity>
A matcher between a web comment entity and a comment it should represent.
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString |
matches
public static CommentEntityMatcher matches(Comment theComment)
- Creates a new matcher with the specified comment.
- Parameters:
theComment - the comment to match.
- Returns:
- a comment matcher.
matches
public boolean matches(Object item)
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2016 Silverpeas. All Rights Reserved.