beforeEach(function() { SDL.numJoysticks.returns(1); });
afterEach(function() { Cylon.Utils.constantly.restore(); SDL.init.restore(); SDL.numJoysticks.restore(); SDL.Joystick.restore(); });