Use sinon to generate the Mock please.