https://kotlinlang.org logo
o

orangy

05/12/2018, 11:44 AM
Why not just use lambda?
{ someClass.someFunction() }.withReturn(33)