com.silverpeas.pdc.web.matchers
Class PdcClassificationEntityMatcher

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

public class PdcClassificationEntityMatcher
extends org.hamcrest.TypeSafeMatcher<PdcClassificationEntity>

A matcher of PdcClassificationEntity objects to be used in unit tests.


Method Summary
 void describeTo(org.hamcrest.Description description)
           
static org.hamcrest.Matcher<PdcClassificationEntity> equalTo(PdcClassificationEntity expected)
           
protected  boolean matchesSafely(PdcClassificationEntity actual)
           
static org.hamcrest.Matcher<PdcClassificationEntity> undefined()
           
protected  PdcClassificationEntityMatcher withExpectedPdcClassificationEntity(PdcClassificationEntity classificationEntity)
           
 
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<PdcClassificationEntity> equalTo(PdcClassificationEntity expected)

undefined

public static org.hamcrest.Matcher<PdcClassificationEntity> undefined()

matchesSafely

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

describeTo

public void describeTo(org.hamcrest.Description description)

withExpectedPdcClassificationEntity

protected PdcClassificationEntityMatcher withExpectedPdcClassificationEntity(PdcClassificationEntity classificationEntity)


Copyright © 2016 Silverpeas. All Rights Reserved.