mock.setter(object, methodName[, implementation][, options])
此函数是 MockTracker.method
的语法糖,options.setter
设置为 true
。
This function is syntax sugar for MockTracker.method
with options.setter
set to true
.
此函数是 MockTracker.method
的语法糖,options.setter
设置为 true
。
This function is syntax sugar for MockTracker.method
with options.setter
set to true
.