use this.sinon.stub and remove all the restore() call.