Package | Description |
---|---|
org.hamcrest |
The stable API defining Matcher and its associated interfaces and classes.
|
org.hamcrest.beans |
Matchers of Java Bean properties and their values.
|
org.hamcrest.collection |
Matchers of arrays and collections.
|
org.hamcrest.core |
Fundamental matchers of objects and values, and composite matchers.
|
org.hamcrest.object |
Matchers that inspect objects and classes.
|
org.hamcrest.xml |
Matchers of XML documents.
|
Modifier and Type | Class and Description |
---|---|
class |
FeatureMatcher<T,U>
Supporting class for matching a feature of an object.
|
Modifier and Type | Class and Description |
---|---|
class |
HasPropertyWithValue<T>
Matcher that asserts that a JavaBean property on an argument passed to the
mock object meets the provided matcher.
|
class |
SamePropertyValuesAs<T> |
Modifier and Type | Class and Description |
---|---|
class |
IsArrayWithSize<E>
Matches if array size satisfies a nested matcher.
|
class |
IsCollectionWithSize<E>
Matches if collection size satisfies a nested matcher.
|
class |
IsIterableContainingInAnyOrder<T> |
class |
IsIterableContainingInOrder<E> |
class |
IsIterableWithSize<E> |
Modifier and Type | Class and Description |
---|---|
class |
Every<T> |
class |
IsCollectionContaining<T> |
Modifier and Type | Class and Description |
---|---|
class |
HasToString<T> |
class |
IsEventFrom
Tests if the value is an event announced by a specific object.
|
Modifier and Type | Class and Description |
---|---|
class |
HasXPath
Applies a Matcher to a given XML Node in an existing XML Node tree, specified by an XPath expression.
|
Copyright © 2016. All rights reserved.