@ Factory public static < T > Matcher < T > named ( String name , Matcher < T > matcher ) { return describedAs ( "%0 = %1" , matcher , name , matcher ) ; }
Wraps an existing matcher decorating its description with the name specified . All other functions are delegated to the decorated matcher including its mismatch description .