Package org.hamcrest.core
package org.hamcrest.core
Fundamental matchers of objects and values, and composite matchers.
-
ClassesClassDescriptionAllOf<T>Calculates the logical conjunction of multiple matchers.AnyOf<T>Calculates the logical disjunction of multiple matchers.TODO: Finish Class Level Documentation.DescribedAs<T>Provides a custom description to another matcher.Every<T>Is<T>Decorates another Matcher, retaining the behaviour but allowing tests to be slightly more expressive.IsAnything<T>A matcher that always returns
true
.Deprecated.IsEqual<T>Is the value equal to another value, as tested by theObject.equals(java.lang.Object)
invokedMethod?Tests whether the value is an instance of a class.IsNot<T>Calculates the logical negation of a matcher.IsNull<T>Is the value null?IsSame<T>Is the value the same object as another value?Tests if the argument is a string that contains a specific substring.Tests if the argument is a string that ends with a specific substring.Tests if the argument is a string that starts with a specific substring.
IsIterableContaining
.