fun canFormat(assertion: Assertion): Boolean
Overrides AssertionFormatter.canFormat
Returns true if the given assertion is an AssertionGroup and its type is T or a sub type.