Mediaocean Interview Question

How to unit test a object using Jasmine