title: python mockito argument captor
body: <p>I have been using python mockito <a href="https://code.google.com/p/mockito-python/" rel="nofollow">https://code.google.com/p/mockito-python/</a> for testing my code.</p>
  
  <p>So far python mockito seems to provide only 2 matchers: contains() and any() <a href="https://code.google.com/p/mockito-python/wiki/Matchers" rel="nofollow">https://code.google.com/p/mockito-python/wiki/Matchers</a></p>
  
  <p>I am wondering how can I write some code so that I can capture the entire argument.</p>
  
  <p>So for example if my code is </p>
  
  <pre><code>deleteSqlStatement = "DELETE from %s WHERE lower(z_id)=lower('%s') and y_id=%s" \
                           % (self.SOME_TABLE, zId, yId)
  cursor.execute(deleteSqlStatement)
  </code></pre>
  
  <p>Currently, all I can do in verification is </p>
  
  <pre><code>verify(self.cursor_mock, times=1).execute(contains("DELETE"))
  </code></pre>
  
  <p>It would be great if I can capture the entire argument passed to execute as a String.</p>
  
  <p>Suggestions?</p>