doc / ch.tutteli.atrium.reporting / MethodCallFormatter

MethodCallFormatter

interface MethodCallFormatter (source)

Responsible to format a method call in reporting.

Functions

format

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

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

formatArgument

abstract fun formatArgument(argument: Any?): String

Formats the given argument.

formatCall

abstract fun formatCall(methodName: String, arguments: Array<out Any?>): String

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