I have a class that have multiple static method. 1 static method calls 1 other private method which eventually calls second public static method. I want to mock the second static method. Is that possible. e.g.
public static A(){
b();
}
private static b(){
c();
}
public static c(){
}
I want to mock c() but want to keep functionality of a() and b() as it is. Is this possible? If so, how?