ExpectedObjects
A collection of methods for building expected objects.
Author
Dustin Glaser
Functions
Link copied to clipboard
Returns an expected object where the object is expected to be FALSE
Link copied to clipboard
Returns an expected object where the object is expected to be null.
Link copied to clipboard
Returns an expected object where the object is expected to be TRUE
Link copied to clipboard
Returns an expected object where the object is expected to be equal to the actual object.
Link copied to clipboard
public static ExpectedObject<Class<? extends T>> instanceOf<T, U extends T>(Class<U> type, boolean subtypes)
Returns an expected object where the object is expected be an instance of the given type.
Link copied to clipboard
Returns an expected object where the object is not null.
Link copied to clipboard
Returns an expected object where the object is expected to be not equal to the given object.
Link copied to clipboard
Returns an expected object where the object is expected to be the same as the given object.
Link copied to clipboard
Returns an expected object where the object is expected to be the same as the given object.
Link copied to clipboard
Returns an expected where the actual result is not relevant.