run

public 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