title: How do I handle unmatched parameters in Mockito?
body: <p>I like to do something like the following:</p>
  
  <pre><code>.when( 
      myMock.doSomething(
          Matchers.eq( "1" )
      ) 
  )
  .thenReturn( "1" )
  .othwerwise()
  .thenThrow( new IllegalArgumentException() );
  </code></pre>
  
  <p>Of course <code>otherwise()</code> method doesn't exist but just to show you what I want to accomplish.</p>