org.hamcrest.core (JUnit API)

Junit


Package org.hamcrest.core

Fundamental matchers of objects and values, and composite matchers.

参阅:           详细描述

类摘要
AllOf<T> Calculates the logical conjunction of two matchers.
AnyOf<T> Calculates the logical disjunction of two matchers.
DescribedAs<T> Provides a custom description to another matcher.
Is<T> Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
IsAnything<T> A matcher that always returns true.
IsEqual<T> Is the value equal to another value, as tested by the Object.equals(java.lang.Object) invokedMethod?
IsInstanceOf 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?
 

Package org.hamcrest.core Description

Fundamental matchers of objects and values, and composite matchers.