What is the difference between
jasmine.createSpy(\'someMethod\')
And
spyOn(someObject, \'someMethod\') >
Additionally to the other fine answer:
spyOn()
jasmine.createSpy()