com.silverpeas.pdc.web.matchers
Class ClassifyPositionMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<List<ClassifyPosition>>
          extended by 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.


Method Summary
 void describeTo(org.hamcrest.Description description)
           
static org.hamcrest.Matcher<List<ClassifyPosition>> equalTo(List<ClassifyPosition> expected)
           
protected  boolean matchesSafely(List<ClassifyPosition> actualPositions)
           
protected  ClassifyPositionMatcher withExpectedClassifyPositions(List<ClassifyPosition> positions)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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.