title: How to stub getTime() method of Date() using sinon?
body: <p>I am using this method but its not working-</p>
  
  <pre><code>var date = new Date();    
  var getTimeStub = sinon.sandbox.stub(date, 'getTime');
  </code></pre>