public TreeComparison < E , A > decorateErrorsWith ( Function < ? super E , String > expectedToString , Function < ? super A , String > actualToString ) { this . expectedToString = expectedToString ; this . actualToString = actualToString ; return this ; }
Decorates errors thrown by any assertions with the given functions .