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

ToStringObjectFormatter

object ToStringObjectFormatter : IObjectFormatter

Represents an IObjectFormatter 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.