doc / ch.tutteli.atrium.spec.reporting / ToStringObjectFormatter

ToStringObjectFormatter

object ToStringObjectFormatter : ObjectFormatter

Represents an ObjectFormatter which merely formats a given object by calling its toString method.

This class is intended to be used in tests and not in production.

Functions

format

fun format(value: Any?): String

Returns a formatted version of the given value.