title: Capture two arguments with Mockito
body: <p>I want to test MyClass, and I mean by that to test the public function myFunction. This function calls to someMethod from MyService.
  I want to check that it passes valid arguments str1 and str2 that were create
  in this class.
  I was thinking about capture those, but I'm not sure if it is possible to capture 2 arguments, or how to do it.
  I don't want to change the visibility if possible </p>
  
  <pre><code>class MyService
  {
  public void someMethod(String str1, String str2);
  }
  
  class MyClass
  {
  private MyService myService;
  private String createStrOne(){...};
  private String createStrTwo(){...};
  ....
  public void myFunction()
  {
    myService = new MyService();
    myService.someMethod(createStrOne(),createStrTwo());
  }
  }
  </code></pre>