 <p>Looks like I need a couple plugins and something like this will work</p> <p><a href="http://a-developer-life.blogspot.com/2011/06/jasmine-part-2-spies-and-mocks.html" rel="nofollow">http://a-developer-life.blogspot.com/2011/06/jasmine-part-2-spies-and-mocks.html</a></p>