com.silverpeas.pdc.web.matchers
Class PdcEntityMatcher

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

public class PdcEntityMatcher
extends org.hamcrest.TypeSafeMatcher<PdcEntity>

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


Method Summary
 void describeTo(org.hamcrest.Description description)
           
static org.hamcrest.Matcher<PdcEntity> equalTo(PdcEntity expected)
           
protected  boolean matchesSafely(PdcEntity actual)
           
protected  PdcEntityMatcher withExpectedPdcEntity(PdcEntity pdcEntity)
           
 
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<PdcEntity> equalTo(PdcEntity expected)

matchesSafely

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

describeTo

public void describeTo(org.hamcrest.Description description)

withExpectedPdcEntity

protected PdcEntityMatcher withExpectedPdcEntity(PdcEntity pdcEntity)


Copyright © 2016 Silverpeas. All Rights Reserved.