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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmartPrinter
public SmartPrinter(InvocationMatcher wanted,
Invocation actual,
java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo)
getWanted
public java.lang.String getWanted()
getActual
public java.lang.String getActual()