Пример #1
0
        public void ShouldExecuteFailedOperationAgain()
        {
            _workflow.Do(_operation).Retry();
            _workflow.Start();

            _operation.ExecuteCount.ShouldBe(2);
        }
Пример #2
0
 public void BeforeEachTest()
 {
     _pipe = new Workflow<string>();
     _pipe.Do(new WorkflowMemoryLoader<string>("The colours of the rainbow"));
 }
Пример #3
0
 public void BeforeEachTest()
 {
     _pipe = new Workflow <string>();
     _pipe.Do(new WorkflowMemoryLoader <string>("The colours of the rainbow"));
 }