public void should_be_invoke_sync_success()
        {
            var result = Chain.RunSync();

            Assert.IsNotNull(result);
            Assert.IsNotNull(result.Results);
            Assert.IsTrue(result.Results.All(p => !p.IsError));

            DispatcherToken.WaitCompleted();
        }
        public void should_be_invoke_sync_item_error()
        {
            var result = Chain.RunSync();

            Assert.IsNotNull(result);
            Assert.IsNotNull(result.Results);
            Assert.NotNull(result.Results.Single(p => p.IsError && p.Error != null));
            Assert.IsTrue(result.Results.Any(p => !p.IsError));

            DispatcherToken.WaitCompleted();
        }