为什么传递到@Injectable
的{{1}}值不会“覆盖”设置为字段的值?
doTest()
测试课程...
public class Buzz {
private final BuzzData buzzData;
public Buzz(final BuzzData buzzData) {
this.buzzData = buzzData;
}
BuzzData getBuzzData() { return buzzData; }
}
public class BuzzData {
private String a;
String getA() { return a; }
void setA(String a) { this.a = a; }
}
我正在使用jmockit 1.44