com.silverpeas.profile.web.matchers
Class UserGroupsMatcher

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

public class UserGroupsMatcher
extends org.hamcrest.TypeSafeMatcher<UserGroupProfileEntity[]>

A matcher of one or more user groups.


Method Summary
static org.hamcrest.Matcher<UserGroupProfileEntity[]> contains(Group[] groups)
           
static org.hamcrest.Matcher<UserGroupProfileEntity[]> contains(List<? extends Group> groups)
           
 void describeTo(org.hamcrest.Description description)
           
protected  boolean matchesSafely(UserGroupProfileEntity[] 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<UserGroupProfileEntity[]> contains(Group[] groups)

contains

public static org.hamcrest.Matcher<UserGroupProfileEntity[]> contains(List<? extends Group> groups)

matchesSafely

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

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2016 Silverpeas. All Rights Reserved.