com.silverpeas.pdc.matchers
Class PdcClassificationListMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<List<PdcClassification>>
          extended by com.silverpeas.pdc.matchers.PdcClassificationListMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<List<PdcClassification>>, org.hamcrest.SelfDescribing

public class PdcClassificationListMatcher
extends org.hamcrest.TypeSafeMatcher<List<PdcClassification>>

A matcher of a list of PdC classifications.


Constructor Summary
protected PdcClassificationListMatcher(List<PdcClassification> classifications)
           
 
Method Summary
static org.hamcrest.TypeSafeMatcher<List<PdcClassification>> containsAll(List<PdcClassification> expected)
           
 void describeTo(org.hamcrest.Description description)
           
protected  boolean matchesSafely(List<PdcClassification> actual)
           
 
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
 

Constructor Detail

PdcClassificationListMatcher

protected PdcClassificationListMatcher(List<PdcClassification> classifications)
Method Detail

containsAll

public static org.hamcrest.TypeSafeMatcher<List<PdcClassification>> containsAll(List<PdcClassification> expected)

matchesSafely

protected boolean matchesSafely(List<PdcClassification> actual)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<List<PdcClassification>>

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2016 Silverpeas. All Rights Reserved.