doc / ch.tutteli.atrium.reporting.text.impl / DefaultTextMethodCallFormatter / format

format

fun format(methodName: String, arguments: Array<out Any?>): () -> String (source)

Overrides MethodCallFormatter.format

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.