是否可以在 JMockit 中检查方法的局部变量?
来源
void foo(){
boolean isPresent = false;
/// ... something here sets isPresent
}
测试
can I check the value of isPresent at the end of call of foo() using JMockit?
是否可以在 JMockit 中检查方法的局部变量?
来源
void foo(){
boolean isPresent = false;
/// ... something here sets isPresent
}
测试
can I check the value of isPresent at the end of call of foo() using JMockit?