src/main/java/org/cornutum/hamcrest/CompositeUtils.java
/**
   * Returns a description of the mismatch reported by the given Matcher for the given object.
   */
Returns a description of the mismatch reported by the given Matcher for the given object.
Returns a description of the mismatch reported by the given Matcher for the given object .
public static String mismatchFor( Matcher<?> matcher, Object object)
    {
    Description description = new StringDescription();
    matcher.describeMismatch( object, description);
    return description.toString();
    }
public static String mismatchFor ( Matcher < ? > matcher , Object object ) { Description description = new StringDescription ( ) ; matcher . describeMismatch ( object , description ) ; return description . toString ( ) ; }
Returns a description of the mismatch reported by the given Matcher for the given object.
Returns a description of the mismatch reported by the given Matcher for the given object .