com.silverpeas.pdc.web.matchers
Class PdcEntityMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<PdcEntity>
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.
| Methods inherited from class org.hamcrest.TypeSafeMatcher |
describeMismatch, describeMismatchSafely, matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
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.