of
public static ActualObject<T> of<T>(T object, boolean successful, Function<String, String> formatter)(source)
Returns an instance representing a behavior where the given object was tested or, if no object was given, an behavior where no object was returned.
Return
the object behavior
Parameters
object
the object
<T>
the type of the object