createChildWithNewPrefixAndAdditionalIndent

Creates an AssertionFormatterParameterObject for kind of a child of the current parameter object using the given newPrefix and an additionalIndent (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 as well as the given additionalIndent.

Return

The newly created AssertionFormatterParameterObject.

Parameters

newPrefix

The new prefix to be used.

additionalIndent

The additional indent which should be added to the current indentLevel next to the current prefix.length.