Package org.mockito.internal.reporting
Class SmartPrinter
- java.lang.Object
-
- org.mockito.internal.reporting.SmartPrinter
-
public class SmartPrinter extends java.lang.Object
Makes sure both wanted and actual are printed consistently (single line or multiline)Makes arguments printed with types if necessary
-
-
Constructor Summary
Constructors Constructor Description SmartPrinter(MatchableInvocation wanted, Invocation actual, java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getActual()
java.lang.String
getWanted()
-
-
-
Constructor Detail
-
SmartPrinter
public SmartPrinter(MatchableInvocation wanted, Invocation actual, java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo)
-
-