com.silverpeas.pdc.web.matchers
Class ClassifyPositionMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<List<ClassifyPosition>>
com.silverpeas.pdc.web.matchers.ClassifyPositionMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<List<ClassifyPosition>>, org.hamcrest.SelfDescribing
public class ClassifyPositionMatcher
- extends org.hamcrest.TypeSafeMatcher<List<ClassifyPosition>>
A matcher of Classify objects to be used in unit tests.
| Methods inherited from class org.hamcrest.TypeSafeMatcher |
describeMismatch, describeMismatchSafely, matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
equalTo
public static org.hamcrest.Matcher<List<ClassifyPosition>> equalTo(List<ClassifyPosition> expected)
matchesSafely
protected boolean matchesSafely(List<ClassifyPosition> actualPositions)
- Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<List<ClassifyPosition>>
describeTo
public void describeTo(org.hamcrest.Description description)
withExpectedClassifyPositions
protected ClassifyPositionMatcher withExpectedClassifyPositions(List<ClassifyPosition> positions)
Copyright © 2016 Silverpeas. All Rights Reserved.