com.silverpeas.subscribe.web
Class SubscriptionEntityMatcher
java.lang.Object
org.hamcrest.BaseMatcher<SubscriptionEntity>
com.silverpeas.subscribe.web.SubscriptionEntityMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<SubscriptionEntity>, org.hamcrest.SelfDescribing
public class SubscriptionEntityMatcher
- extends org.hamcrest.BaseMatcher<SubscriptionEntity>
A matcher between a web subscription entity and a subscription it should represent.
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString |
matches
public static SubscriptionEntityMatcher matches(Subscription theSubscription)
- Creates a new matcher with the specified subscription.
- Parameters:
theSubscription - the subscription to match.
- Returns:
- a subscription matcher.
matches
public boolean matches(Object item)
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2016 Silverpeas. All Rights Reserved.