public static < T1 , T2 > BiConsumer < T1 , T2 > spy ( BiConsumer < T1 , T2 > consumer , Box < T1 > param1 , Box < T2 > param2 ) { return new BinaryCapturingConsumer < T1 , T2 > ( consumer , param1 , param2 ) ; }
Proxies a binary consumer spying for parameters .