title: Mockito.mockedStatic for method with arguments
body: <p>All the examples provided for mockedStatic method is for method without parameters. Is there a way to mock methods with parameters.</p>
  <p>examples provided:
  <a href="https://javadoc.io/static/org.mockito/mockito-core/3.4.6/org/mockito/Mockito.html#static_mocks" rel="noreferrer">https://javadoc.io/static/org.mockito/mockito-core/3.4.6/org/mockito/Mockito.html#static_mocks</a></p>
  <pre><code> mocked.when(Foo::method).thenReturn(&quot;bar&quot;);
   assertEquals(&quot;bar&quot;, Foo.method());
   mocked.verify(Foo::method);
   } 
  </code></pre>
  <p>What I want:
  I tried below and it does not work.</p>
  <p><code>mocked.when(Foo.methodWithParams(&quot;SomeValue&quot;))</code></p>