com.silverpeas.questionReply.model
Class QuestionMatcher
java.lang.Object
org.hamcrest.BaseMatcher<Question>
com.silverpeas.questionReply.model.QuestionMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<Question>, org.hamcrest.SelfDescribing
public class QuestionMatcher
- extends org.hamcrest.BaseMatcher<Question>
- Author:
- emmanuel.hugonnet@silverpeas.org
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString |
matches
public static QuestionMatcher matches(Question thequestion)
- Creates a new matcher with the specified question.
- Parameters:
thequestion
- the comment to match.
- Returns:
- a question matcher.
matches
public boolean matches(Object item)
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2016 Silverpeas. All Rights Reserved.