@Test public void
adaptsHamcrestMatcherToJMockConstraint() {
Constraint jMockConstraint = new JMock1Adapter(equalTo("expected"));
assertTrue("Should have matched", jMockConstraint.eval("expected"));
assertFalse("Should not have matched", jMockConstraint.eval("unexpected"));
}
@Test public void
delegatesDescriptionToUnderlyingMatcher() {
Constraint jMockConstraint = new JMock1Adapter(new BaseMatcher<Object>() {