correct mock usage s/arguments/args/
pass object instead of polluting current scope