Replace deprecated mock with double

Change-Id: I64b49e127c0d99c381472c2420b5154d764fc775
Reviewed-on: http://gerrit.causes.com/35571
Reviewed-by: Shane da Silva <shane@causes.com>
Tested-by: Shane da Silva <shane@causes.com>
Add PostCheckout context specs

Change-Id: I618488922811b331bc256a88d8ace8ab23422e3a
Reviewed-on: http://gerrit.causes.com/35572
Reviewed-by: Shane da Silva <shane@causes.com>
Tested-by: Shane da Silva <shane@causes.com>