public InterceptedInvocation( Object mock, MockitoMethod mockitoMethod, Object[] arguments, SuperMethod superMethod, int sequenceNumber) { this.mock = mock; this.mockitoMethod = mockitoMethod; this.arguments = ArgumentsProcessor.expandVarArgs(mockitoMethod.isVarArgs(), arguments); this.rawArguments = arguments; this.superMethod = superMethod; this.sequenceNumber = sequenceNumber; location = new LocationImpl(); }
public String toString() { return new PrintSettings().print(ArgumentsProcessor.argumentsToMatchers(getArguments()), this); }