com.silverpeas.pdc.matchers
Class PdcClassificationMatcher

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

public class PdcClassificationMatcher
extends org.hamcrest.TypeSafeMatcher<PdcClassification>

A matcher of the PdC classifications.


Constructor Summary
protected PdcClassificationMatcher(PdcClassification expected)
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
static org.hamcrest.TypeSafeMatcher<PdcClassification> equalTo(PdcClassification expected)
           
protected  String getDescription()
           
protected  boolean matchesSafely(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

PdcClassificationMatcher

protected PdcClassificationMatcher(PdcClassification expected)
Method Detail

equalTo

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

matchesSafely

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

describeTo

public void describeTo(org.hamcrest.Description description)

getDescription

protected String getDescription()


Copyright © 2016 Silverpeas. All Rights Reserved.