title: Calling real method though given different answer to return on a static method execution
body: <p>I am using power mockito and I am mocking a class <code>SomeUtil</code> having all static methods.</p>
  
  <pre><code>import java.util.List;
  
  class SomeUtil {
  
      // other static methods
  
      public static X createX(String name, List&lt;String&gt; addresses, boolean isEnabled) {
          // implementation
          return null;
      }
  
      // other static methods
  
  }
  </code></pre>
  
  <p>And I have mocked it as follows.</p>
  
  <pre><code>PowerMockito.mockStatic(SomeUtil.class, Answers.CALLS_REAL_METHODS.get());
  Answer&lt;Row&gt; createXAnswer = new Answer&lt;Row&gt;() {
              @Override
              public Row answer(InvocationOnMock invocation) throws Throwable {
                  return new X();
              }
          };
  PowerMockito.when(SomeUtil.createX(Mockito.any(String.class), Mockito.any(List.class), Mockito.any(Boolean.class)).thenAnswer(createXAnswer);
  </code></pre>
  
  <p>But with that <code>createX()</code> method always invokes original method, which I am trying to avoid. I suspect that because of <code>boolean</code> <strong>primitive</strong> type. Am I missing something here? Please guide</p>