How can I mock an Observable.throw in an Angular2 test? : <p>I want to test the error handling in my Angular2 component and therefore want to mock a service to return an Observable.throw('error'). How can that be done using Jasmine and Karma and Angular 2?</p>
