doc / ch.tutteli.atrium.reporting / IObjectFormatter

IObjectFormatter

interface IObjectFormatter

Represents a formatter for objects.

Typically it formats IAssertionPlant.subjects and expected values of IAssertions.

Functions

format

abstract fun format(value: Any?): String

Returns a formatted version of the given value.

Inheritors

ToStringObjectFormatter

class ToStringObjectFormatter : IObjectFormatter