1
是否可以在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?