doc / ch.tutteli.atrium.reporting / MethodCallFormatter / format

format

abstract fun format(methodName: String, arguments: Array<out Any?>): () -> String (source)
Deprecated: Use the overload which returns a string right away, wrap it into a lambda on your own if you need this functionality; will be removed with 0.17.0

Returns a lazy representation of the method call to a method named methodName with the given arguments.

Parameters

methodName - The name of the method for which a call with the given arguments should be formatted.

arguments - The arguments of the method call.

Return
An lambda containing the logic to build the representation.