Package | Description |
---|---|
com.atlassian.crowd.test.matchers |
Modifier and Type | Method and Description |
---|---|
static <T extends User> |
UserMatcher.user()
A matcher that matches any user.
|
static <T extends User> |
CrowdMatchers.user() |
static <T extends User> |
UserMatcher.user(Class<T> type)
A matcher that matches any user; synonymous with
user() but its argument is used to set the matcher type. |
static <T extends User> |
CrowdMatchers.user(Class<T> type)
A matcher that matches any user; synonymous with
CrowdMatchers.user() but its argument is used to set the matcher type. |
static <T extends User> |
UserMatcher.userNamed(String name)
A matcher that matches a user with the given name.
|
static <T extends User> |
CrowdMatchers.userNamed(String name) |
UserMatcher<E> |
UserMatcher.withActive(boolean active)
Builds a new specialised matcher to match the given active status; the returned matcher will only match if all
this matcher's non-username constraints are matched AND the given status is equal to the user's active status.
|
UserMatcher<E> |
UserMatcher.withExternalIdMatching(org.hamcrest.Matcher<String> externalIdMatcher)
Builds a new specialised matcher to match on the externalId.
|
UserMatcher<E> |
UserMatcher.withExternalIdOf(String externalId)
Builds a new specialised matcher to match the given externalId.
|
UserMatcher<E> |
UserMatcher.withNameMatching(org.hamcrest.Matcher<String> nameMatcher)
Builds a new specialised matcher to match on username; the returned matcher will only match if all this matcher's
non-username constraints are matched AND the given matcher matches the user's username.
|
UserMatcher<E> |
UserMatcher.withNameOf(String name)
Builds a new specialised matcher to match the given username exactly; the returned matcher will only match if all
this matcher's non-username constraints are matched AND the given string is equal to the user's username.
|
Copyright © 2020 Atlassian. All rights reserved.