it('should not set `$rootScope.isLoading` when route does not contain resolve property', () => {
                const toState = {};
                OnRun.runFactory($rootScope, $state, $log, AuthenticationService);

                $rootScope.$broadcast('$stateChangeSuccess', toState); // the first argument is reserved for the event object (that's why we are not passing event object here)