run

public ResultOfObject<T> run(T object)(source)

Tests if the given object is as expected and returns the result.

Return

the result of the test

Parameters

object

the object under test


public abstract ResultOfObject<T> run(ObjectCallable<T> callable)(source)

Tests if the object retrieved by the given callable is as expected and returns the result.

Return

the result of the test

Parameters

callable

the callable