How to mock static method call by constructor
Hi I have a constructor that is calling a static method. 

I am using powermock. 

I want to know how to mock static method when it is being called by the constructor. 

    Class A {
        public A() {
            // do something
            A.doSomething();
        }
    
        public static void doSomething() {
        }
    }



How to mock static method call by constructor
===

Hi I have a constructor that is calling a static method. 

I am using powermock. 

I want to know how to mock static method when it is being called by the constructor. 

    Class A {
        public A() {
            // do something
            A.doSomething();
        }
    
        public static void doSomething() {
        }
    }


