public void Flow_InitialDelay_must_delay_elements_by_the_specified_time_but_not_more()
{
this.AssertAllStagesStopped(() =>
{
var task = Source.From(Enumerable.Range(1, 10))
.InitialDelay(TimeSpan.FromSeconds(2))
.InitialTimeout(TimeSpan.FromSeconds(1))
.RunWith(Sink.Ignore<int>(), Materializer);
task.Invoking(t => t.Wait(TimeSpan.FromSeconds(2))).ShouldThrow<TimeoutException>();
}, Materializer);
}