title: Not able to mock the static method with powermockito?
body: <p>Getting the exception:</p>
  
  <pre><code>although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)
  </code></pre>
  
  <p>I am following the <a href="https://code.google.com/p/powermock/wiki/MockitoUsage" rel="nofollow">https://code.google.com/p/powermock/wiki/MockitoUsage</a></p>
  
  <pre><code>PowerMockito.mockStatic(MyUtil.class);
  
  Mockito.when(MyUtil.compareVersion("1","2")).thenReturn(200);
  </code></pre>
  
  <p>Also I want to mock this class partial, there are others methods in this class, which I don't want to mock, they should run as usual.</p>
  
  <p>Detailed Exception :</p>
  
  <pre><code>org.mockito.exceptions.misusing.UnfinishedStubbingException: 
  Unfinished stubbing detected here:
  -&gt; at org.powermock.api.mockito.internal.PowerMockitoCore.doAnswer(PowerMockitoCore.java:31)
  </code></pre>