public static < R , T > Function < T , R > spyRes ( Function < T , R > function , Box < R > result ) { return spy ( function , result , Box . < T > empty ( ) ) ; }
Proxies a function spying for result .