How to test static block in powermockito

后端 未结 0 1124
滥情空心
滥情空心 2020-12-18 05:51

Here is my class for test:

class A {
    static HashSet set = new HashSet();
    static {
        set.put(1);
                


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题