We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 157e663 commit f4847cdCopy full SHA for f4847cd
1 file changed
force-app/main/default/classes/test utilities/Stub.cls
@@ -77,6 +77,10 @@ public with sharing class Stub implements System.StubProvider {
77
List<String> paramNames,
78
List<Object> args
79
) {
80
+ paramTypes = paramTypes ?? new List<Type>();
81
+ paramNames = paramNames ?? new List<String>();
82
+ args = args ?? new List<Object>();
83
+
84
// Creates a method signature object from dependency injected variables
85
// used for comparing the current method call being handled against the
86
// list of MockedMethod objects
0 commit comments