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