Exemple #1
0
        public ScreenName RunNavigation(ScreenEvent eventToTrigger)
        {
            var navigations = new TestFlowScreenConfigurator(_target);

            _target.DefineActionHandlersOnCurrentScreen(navigations, _uiFlowContextData);
            return(navigations.Execute(eventToTrigger));
        }
Exemple #2
0
        public ScreenName ExecuteEvent(ScreenEvent eventToTrigger)
        {
            var cfg = new TestFlowScreenConfigurator(_target);

            _target.DefineActionHandlersOnCurrentScreen(cfg, _uiFlowContextData);
            _target.HandleStepEvent(eventToTrigger, _uiFlowContextData).Wait();
            return(RunNavigation(eventToTrigger));
        }