Package | Description |
---|---|
com.atlassian.crowd.test.matchers |
Modifier and Type | Method and Description |
---|---|
AttributesMatcher<E> |
AttributesMatcher.doesNotHaveKey(String key)
Builds a new specialised matcher that matches entities that do not have a particular attribute key.
|
static <T extends Attributes> |
AttributesMatcher.entityWithAttributes()
A matcher that matches any entity.
|
static <T extends Attributes> |
CrowdMatchers.entityWithAttributes() |
static <T extends Attributes> |
AttributesMatcher.entityWithAttributes(Class<T> type)
A matcher that matches any entity with attributes; synonymous with
entityWithAttributes() but its argument is used to set the matcher type. |
static <T extends Attributes> |
CrowdMatchers.entityWithAttributes(Class<T> type)
A matcher that matches any entity with attributes; synonymous with
CrowdMatchers.entityWithAttributes() but
its argument is used to set the matcher type. |
AttributesMatcher<E> |
AttributesMatcher.hasEntry(org.hamcrest.Matcher<? super String> keyMatcher,
org.hamcrest.Matcher<? super Set<String>> valueMatcher)
Builds a new specialised matcher that matches entities with at least an attribute that matches simultaneously the
key and value matchers.
|
AttributesMatcher<E> |
AttributesMatcher.hasEntry(String key,
String singleValue)
Builds a new specialised matcher that matches entities with at least an attribute that has the given key and
singleton value.
|
AttributesMatcher<E> |
AttributesMatcher.withNoAttributes()
Builds a new specialised matcher that matches entities with no attributes.
|
Copyright © 2021 Atlassian. All rights reserved.