com.silverpeas.subscribe.web
Class SubscriptionEntityMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<SubscriptionEntity>
      extended by 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.


Method Summary
 void describeTo(org.hamcrest.Description description)
           
 boolean matches(Object item)
           
static SubscriptionEntityMatcher matches(Subscription theSubscription)
          Creates a new matcher with the specified subscription.
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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.