Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`SmartPrinter(InvocationMatcher wanted, Invocation actual, java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo)`

Method Summary
`java.lang.String` | `getActual()`
`java.lang.String` | `getWanted()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SmartPrinter

    public SmartPrinter(InvocationMatcher wanted,
                        Invocation actual,
                        java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo)

Method Detail

### getWanted

    public java.lang.String getWanted()

### getActual

    public java.lang.String getActual()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD