title: PowerMock testing - set static field of class
body: <p>I'm having difficulty finding a way to set a static field of a class. It's basically like this:</p>
  
  <pre><code>public class Foo{
      // ...
      private static B b = null;
  }
  </code></pre>
  
  <p>where B is another class.</p>
  
  <p>Is there any way to do this in PowerMock other than with <code>setInternalStateFromContext()</code>? Using the context class method seems a bit of overkill for setting one field.</p>
  
  <p>Thanks.</p>