com.silverpeas.profile.web.matchers
Class UsersMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<UserProfileEntity[]>
          extended by com.silverpeas.profile.web.matchers.UsersMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<UserProfileEntity[]>, org.hamcrest.SelfDescribing

public class UsersMatcher
extends org.hamcrest.TypeSafeMatcher<UserProfileEntity[]>

A matcher of one or more users details.


Method Summary
static org.hamcrest.Matcher<UserProfileEntity[]> contains(List<? extends UserDetail> users)
           
static org.hamcrest.Matcher<UserProfileEntity[]> contains(UserDetail[] users)
           
 void describeTo(org.hamcrest.Description description)
           
protected  boolean matchesSafely(UserProfileEntity[] actual)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

contains

public static org.hamcrest.Matcher<UserProfileEntity[]> contains(UserDetail[] users)

contains

public static org.hamcrest.Matcher<UserProfileEntity[]> contains(List<? extends UserDetail> users)

matchesSafely

protected boolean matchesSafely(UserProfileEntity[] actual)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<UserProfileEntity[]>

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2016 Silverpeas. All Rights Reserved.