Sobes.tech
Junior — Senior

DIY mock functionality considering calls and arguments

livecode

Task condition

Implement your own mock function that will keep track of the number of its calls, store the arguments passed in each call, and allow setting predefined return values, thus simulating the behavior of the original method.