Replace methods in global namespace with the spying methods defined below

.replace.methods.with.spy(methods)

Arguments

methods

These are names of functions to replace.