Jasmine matchers toHaveBeenCalled and toHaveBeenCalledWith gracefully overridden.