code: function workFn() {
        var spec = getCurrentSpec();
        var modules = spec.$modules || [];
        modules.unshift('ngMock');
        modules.unshift('ng');
        var injector = spec.$injector;
        if (!injector) {
          injector = spec.$injector = angular.injector(modules);
        }
        for(var i = 0, ii = blockFns.length; i < ii; i++) {
          try {
            injector.invoke(blockFns[i] || angular.noop, this);
          } catch (e) {
            if(e.stack) e.stack +=  '\n' + stack;
            throw e;
          }
        }
      }
docs: ///////////////////