コード例 #1
0
 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();
 }
コード例 #2
0
 @Override
 public Class getRawReturnType() {
   return mockitoMethod.getReturnType();
 }
コード例 #3
0
 @Override
 public Method getMethod() {
   return mockitoMethod.getJavaMethod();
 }