GUI -- Sketching out GlyphService.
- Added areFunctions() to FnService.
- First unit test for GlyphService.
- Added note about debugging unit tests.

Change-Id: I377b6a1cf1845fb57e506e1a935970b49dbf0bbb
diff --git a/web/gui/src/main/webapp/tests/app/fw/svg/glyph-spec.js b/web/gui/src/main/webapp/tests/app/fw/svg/glyph-spec.js
index 568a05b..524a160 100644
--- a/web/gui/src/main/webapp/tests/app/fw/svg/glyph-spec.js
+++ b/web/gui/src/main/webapp/tests/app/fw/svg/glyph-spec.js
@@ -20,11 +20,13 @@
  @author Simon Hunt
  */
 describe('factory: fw/svg/glyph.js', function() {
-    var gs;
+    var $log, fs, gs;
 
-    beforeEach(module('onosSvg'));
+    beforeEach(module('onosUtil', 'onosSvg'));
 
-    beforeEach(inject(function (GlyphService) {
+    beforeEach(inject(function (_$log_, FnService, GlyphService) {
+        $log = _$log_;
+        fs = FnService;
         gs = GlyphService;
     }));
 
@@ -32,5 +34,11 @@
         expect(gs).toBeDefined();
     });
 
+    it('should define four functions', function () {
+        expect(fs.areFunctions(gs, [
+            'init', 'register', 'ids', 'loadDefs'
+        ])).toBeTruthy();
+    });
+
     // TODO: unit tests for glyph functions
 });