Package org.mockito.internal.reporting
Class SmartPrinter
java.lang.Object
org.mockito.internal.reporting.SmartPrinter
Makes sure both wanted and actual are printed consistently (single line or multiline)
Makes arguments printed with types if necessary
-
Constructor Summary
ConstructorsConstructorDescriptionSmartPrinter(MatchableInvocation wanted, List<Invocation> allActualInvocations, Integer[] indexesOfMatchersToBeDescribedWithExtraTypeInfo, Set<String> classNamesToBeDescribedWithFullName) SmartPrinter(MatchableInvocation wanted, Invocation actual, Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo) -
Method Summary
-
Constructor Details
-
SmartPrinter
public SmartPrinter(MatchableInvocation wanted, Invocation actual, Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo) -
SmartPrinter
public SmartPrinter(MatchableInvocation wanted, List<Invocation> allActualInvocations, Integer[] indexesOfMatchersToBeDescribedWithExtraTypeInfo, Set<String> classNamesToBeDescribedWithFullName)
-
-
Method Details
-
getWanted
-
getActuals
-