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

format

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

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.