title: How to check if a parameter contains two substrings using Mockito?
body: <p>I have a line in my test that currently looks like:</p>
  
  <pre><code>Mockito.verify(mockMyObject).myMethod(Mockito.contains("apple"));
  </code></pre>
  
  <p>I would like to modify it to check if the parameter contains both <code>"apple"</code> and <code>"banana"</code>.  How would I go about this?</p>