Mediaocean interview question

How to unit test a object using Jasmine