doc / ch.tutteli.atrium.reporting.text.impl / SingleAssertionGroupTypeFormatter / canFormat

canFormat

fun canFormat(assertion: Assertion): Boolean (source)

Overrides AssertionFormatter.canFormat

Returns true if the given assertion is an AssertionGroup and its type is T or a sub type.