|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
type,
as determined by calling the Class.isInstance(Object) method on that type, passing the
the examined object.
type,
as determined by calling the Class.isInstance(Object) method on that type, passing the
the examined object.
String.
String.
SelfDescribing value to this description.
SelfDescribing objects
to the description.
StringDescription.toString(SelfDescribing).
Description that is stored as a string.String contains the specified
String anywhere.
String contains the specified
String anywhere.
String contains the specified
String anywhere, ignoring case.
String contains the specified
String anywhere, ignoring case.
String ends with the specified
String.
String ends with the specified
String.
String ends with the specified
String, ignoring case.
String ends with the specified
String, ignoring case.
operand, as determined by calling the Object.equals(java.lang.Object) method on
the examined object.
operand, as determined by calling the Object.equals(java.lang.Object) method on
the examined object.
Iterables that only matches when a single pass over the
examined Iterable yields items that are all matched by the specified
itemMatcher.
Iterables that only matches when a single pass over the
examined Iterable yields items that are all matched by the specified
itemMatcher.
Iterables that only matches when a single pass over the
examined Iterable yields at least one item that is matched by the specified
itemMatcher.
Iterables that only matches when a single pass over the
examined Iterable yields at least one item that is equal to the specified
item.
Iterables that only matches when a single pass over the
examined Iterable yields at least one item that is matched by the specified
itemMatcher.
Iterables that only matches when a single pass over the
examined Iterable yields at least one item that is equal to the specified
item.
Iterables that matches when consecutive passes over the
examined Iterable yield at least one item that is matched by the corresponding
matcher from the specified itemMatchers.
Iterables that matches when consecutive passes over the
examined Iterable yield at least one item that is equal to the corresponding
item from the specified items.
Iterables that matches when consecutive passes over the
examined Iterable yield at least one item that is matched by the corresponding
matcher from the specified itemMatchers.
Iterables that matches when consecutive passes over the
examined Iterable yield at least one item that is equal to the corresponding
item from the specified items.
type,
as determined by calling the Class.isInstance(Object) method on that type, passing the
the examined object.
type,
as determined by calling the Class.isInstance(Object) method on that type, passing the
the examined object.
is(equalTo(x)).
is(equalTo(x)).
is(instanceOf(SomeClass.class)).
is(instanceOf(SomeClass.class)).
true.Object.equals(java.lang.Object) invokedMethod?not(equalTo(x)).
not(equalTo(x)).
not(nullValue()).
not(nullValue(X.class)).
- notNullValue() -
Static method in class org.hamcrest.CoreMatchers
- A shortcut to the frequently used
not(nullValue()).
- notNullValue(Class<T>) -
Static method in class org.hamcrest.CoreMatchers
- A shortcut to the frequently used
not(nullValue(X.class)).
- nullValue() -
Static method in class org.hamcrest.core.IsNull
- Creates a matcher that matches if examined object is
null.
- nullValue(Class<T>) -
Static method in class org.hamcrest.core.IsNull
- Creates a matcher that matches if examined object is
null.
- nullValue() -
Static method in class org.hamcrest.CoreMatchers
- Creates a matcher that matches if examined object is
null.
- nullValue(Class<T>) -
Static method in class org.hamcrest.CoreMatchers
- Creates a matcher that matches if examined object is
null.
String starts with the specified
String.
String starts with the specified
String.
String starts with the specified
String, ignoring case
For example:
String starts with the specified
String, ignoring case
For example:
Description that is stored as a string.SelfDescribing object as a String.
matchesSafely
is not the class that binds <T> to a type.
matchesSafely
is not the class that binds <T> to a type.
matchesSafely
is not the class that binds <T> to a type.
matchesSafely
is not the class that binds <T> to a type.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||