attempts to stub quit method