doc / ch.tutteli.atrium.reporting / AssertionFormatterParameterObject / createChildWithNewPrefix

createChildWithNewPrefix

fun createChildWithNewPrefix(newPrefix: String): AssertionFormatterParameterObject (source)

Creates an AssertionFormatterParameterObject for kind of a child of the current parameter object using the given newPrefix (the child will typically be used to indent Assertions one level more).

Technically speaking it means that the child's indentLevel is based on the current parameter object but increased by the current parameter object's prefix.length.

Parameters

newPrefix - The new prefix to be used.

Return
The newly created AssertionFormatterParameterObject.