public void Sliding_must_work_with_empty_sources()
{
this.AssertAllStagesStopped(() =>
{
Source.Empty<int>().Sliding(1).RunForeach(ints => TestActor.Tell(ints), Materializer)
.ContinueWith(t =>
{
if (t.IsCompleted && t.Exception == null)
TestActor.Tell("done");
});
ExpectMsg("done");
}, Materializer);
}
}