spyOn explicitly checks to see that a method name to spy on was passed.

[finish #27689237]