我想通過使用Sinon.js對我的一個函數進行存根來測試async.waterfall。 // functions.js
module.exports = {
// function I don't want to run
doBigThing: function() {
console.log("[doBigThing] was called");
},
是否有任何方法使用Arquillian與Junit存根靜態方法? 實施例: class A {
public static String methodA() {
if(...){
return "Real";
}
return "Stub";
}
}
class B {
public String methodB(){
String t