示例#1
0
        public void AndThen_TimesOutOnFirst_WithDeferredSecondCondition()
        {
            var task = Never.AndThen(_ => ImmediateTrue).ExpectWithinSeconds(1).ToTask(this.Executor);

            this.Scheduler.AdvanceFrame(OneSecond);
            Assert.IsNotNull(GetFailureException(task));
        }