title: Mockito equivalent to this Hamcrest "samePropertyValuesAs"/jMock "with" idiom?
body: <p>Hamcrest/jMock code looks like this:</p>
  
  <pre><code>@Test
  public void setsSniperValuesInColumns() {
      context.checking(new Expectations() {{
          one(listener).tableChanged(with(aRowChangedEvent())); 
      }});
      model.sniperStatusChanged(new SniperState("item id", 555, 666), MainWindow.STATUS_BIDDING);
      ...
  }
  
  private Matcher&lt;TableModelEvent&gt; aRowChangedEvent() {
      return samePropertyValuesAs(new TableModelEvent(model, 0));
  }
  </code></pre>
  
  <p>NB this is taken from "Growing Object-Oriented Software Guided by Tests" (p. 157).  The authors of this book use Hamcrest and jMock.  I'm of the opinion that AssertJ and Mockito are probably better.  Of course it would be possible to use both these testing frameworks in the same projects, but it would get pretty confusing and doesn't seem ideal.</p>
  
  <p><code>samePropertyValuesAs</code> comes from <code>import static org.hamcrest.beans.SamePropertyValuesAs.samePropertyValuesAs;</code>
  <br><code>with</code> appears to come from jMock</p>
  
  <p>So what I'm trying to find is a way that I can use Mockito's <code>verify</code> method where they are using <code>Expectations</code>.  But is there any way that I can do this:</p>
  
  <pre><code>verify( listener ).tableChanged( samePropertyValues( new TableModelEvent( model, 0 )));
  </code></pre>
  
  <p>... of course one can imagine a workaround where you go around setting all the properties one by one... but I would imagine Mockito has something better out of the box.</p>