title: Are there any ways to mock static methods using mockito?
body: <p>I wanted to write test for my changes, but got problem - changes were made inside static metod.
  The code looks like this</p>
  
  <pre><code>class GlobalData {
  static boolean doSomething(...){...}
  static xxx A() {...}
  static yyy B() {...}
  static void C() {
  xxx a = A();
  yyy b = B();
  
  if (doSomething(a, b))
  {
     a.xyz(b,42);
     ... my coode i want to test....
  }
  }
  </code></pre>
  
  <p>What I want is to mock methods A and B and doSomething and all these static methods that are used in method C, but I can't find any way to do that at the moment. Do you now any?</p>