public async Task should_be_invoke_chain_workers() { var result = await Chain.RunAsync(); DispatcherToken.WaitCompleted(); MockActionInvoker.Verify(p => p.Invoke(It.IsAny <CancellationToken>()), Times.Exactly(2)); }
public void should_be_invoke_chain_workers() { DispatcherToken.WaitCompleted(); MockActionInvoker.Verify(p => p.Invoke(It.IsAny <CancellationToken>()), Times.Exactly(8)); }
public void should_be_two_worker_from_all_success() { DispatcherToken.WaitCompleted(); MockActionInvoker.Verify(p => p.Invoke(It.IsAny <CancellationToken>()), Times.Exactly(2)); }
public void should_be_two_action_execute() { DispatcherToken.WaitCompleted(); MockActionInvoker.Verify(p => p.Invoke(It.IsAny <CancellationToken>()), Times.Exactly(2)); }