Added test case to test and cover processApiError() function.
Issue-ID: APPC-1064
Change-Id: I2a6e4a131853bb36d54e40bfe38766b5e62d59b6
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
         let traceValue = localStorage.getItem("Tracelvl");
         expect(traceValue).toBe("0")
     }));
+
+    it('should test processApiError function', inject([UtilityService], (service: UtilityService) => {
+        let spy = spyOn(NotificationsService.prototype, 'error');
+        service.processApiError();
+        expect(spy).toHaveBeenCalled();
+
+    }));
 });
\ No newline at end of file