Use junit test private method
The class contain private method need to be test.
public class TestPrivateMethod {
private int add(int a, int b)
{
return a+b;
}
}
The junit for private method test.
public class TestPri
转载
2012-07-21 21:43:28 ·
524 阅读 ·
0 评论