java.lang.Object | |
↳ | com.atlassian.jira.easymock.EasyMockMatcherUtils |
Static utilities for easier creation of org.easymock.classextension.EasyMock matchers.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Typed 'any' matcher.
| |||||||||||
Typed 'any collection' matcher.
| |||||||||||
Typed 'any list' matcher.
| |||||||||||
Typed 'any map' matcher.
| |||||||||||
Shortcut for
any(Class) called with String class. | |||||||||||
Matcher for a map containing at least two entries specified by given keys and values
| |||||||||||
Matcher for a map containing given key and value.
| |||||||||||
Typed 'is null' matcher.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
isA(Class)
in that it does not check type of the actual
argument.argumentType | class representing argument's type |
---|
isA(Class)
, with a Collection parameter, but
avoids type-safety warnings in the calling methods.elementType | class representing the type of list elements |
---|
isA(Class)
with a List parameter,
but avoids type-safety warnings in the calling methods.elementType | class representing the type of list elements |
---|
isA(Class)
} with a Map parameter,
but avoids type-safety warnings in the calling methods.keyType | class representing the type of map keys |
---|---|
valueType | class representing the type of map values |
Shortcut for any(Class)
called with String class.
Matcher for a map containing at least two entries specified by given keys and values
key1 | first key |
---|---|
value1 | first value |
key2 | second key |
value2 | second value |
Matcher for a map containing given key and value.
key | key |
---|---|
value | value |
Typed 'is null' matcher.
argumentType | class representing argument's type |
---|