public void can_do_something() { var chan = Timeout.After(TimeSpan.FromMilliseconds(10)); var got = chan.Receive(); Assert.IsTrue(DateTime.UtcNow >= got); }