Skip to main content
[ This file is autogenerated from apexdoc ]

AqMethodCallRecorder

ISTEST

Group modules/enterprise

Constructors​

public AqMethodCallRecorder()​


Fields​

public isStubbing → Boolean​

Used to properly record stubbed returned value


Properties​

public methodReturnValue → AqMethodReturnValue​

Holds stubbed return value


Methods​

public AqMethodReturnValue prepareMethodReturnValue(AqMethodInvocation methodInvocation)​

Prepare a stubbed method return value.

Parameters​

ParamDescription
methodInvocationThe object holding all the data of the invocation, like the method and arguments and the mock instance.

Returns​

TypeDescription
AqMethodReturnValueThe MethodReturnValue instance.

public AqMethodReturnValue getMethodReturnValue(AqMethodInvocation methodInvocation)​

Get the method return value for the given method call.

Parameters​

ParamDescription
methodInvocationThe object holding all the data of the invocation, like the method and arguments and the mock instance.

Returns​

TypeDescription
AqMethodReturnValueThe MethodReturnValue instance.