com.silverpeas.profile.web.matchers
Class UserGroupsMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<UserGroupProfileEntity[]>
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.
| Methods inherited from class org.hamcrest.TypeSafeMatcher |
describeMismatch, describeMismatchSafely, matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
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.