title: Robolectric and Powermock attempting to mock static method, y u no work?
body: <p>I am using Robolectric 2.1, Powermock 1.5.1 and i would like to simply write a static method test. i just want to verify that a static method of a class is NEVER called when passing in false as an argument:</p>
  
  <pre><code>@RunWith(RobolectricTestRunner.class)
  @PrepareForTest(MyStaticClassToTest.class)
  public class TestClass {
      @Test
      public void staticMethod_shouldNeverBeCalled() throws Exception {
          MyStaticClassToTest instance = new MyStaticClassToTest();
  
          PowerMockito.mockStatic(MyStaticClassToTest.class);
          PowerMockito.when(MyStaticClassToTest.staticMethod(new Context)).thenReturn("wtf?");
  
          instance.iCallStaticMethod(false);
  
          PowerMockito.verifyStatic(times(1)); //i want this to fail, but it keeps passing
          MyStaticClassToTest.staticMethod(context);
      }
  }
  </code></pre>
  
  <p>Where i have a class defined like:</p>
  
  <pre><code>public class MyStaticClassToTest {
      public void iCallStaticMethod(boolean yesOrNo){
          if(yesOrNo) staticMethod(new Context());
      }
      public static String staticMethod(Context androidContext){
          //do something... 
          return null;
      }
  }
  </code></pre>
  
  <p>Why is that my test keeps passing? I want it to verify that the static method is NEVER called.</p>