【发布时间】:2011-10-10 02:51:06
【问题描述】:
是否可以在 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?
【问题讨论】:
标签: java unit-testing jmockit