com.silverpeas.subscribe.web
Class SubscriberEntityMatcher

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


Method Summary
 void describeTo(org.hamcrest.Description description)
           
 boolean matches(Object item)
           
static SubscriberEntityMatcher matches(SubscriptionSubscriber theSubscriber)
          Creates a new matcher with the specified subscriber.
 
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 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.