public static < T > Predicate < T > spy ( Predicate < T > predicate , Box < Boolean > result , Box < T > param ) { return new CapturingPredicate < T > ( predicate , result , param ) ; }
Proxies a predicate spying for result and parameter .