public void InputStreamSource_must_read_bytes_from_InputStream()
{
this.AssertAllStagesStopped(() =>
{
var f = StreamConverters.FromInputStream(() => new ListInputStream(new[] {"a", "b", "c"}))
.RunWith(Sink.First<ByteString>(), _materializer);
f.Wait(TimeSpan.FromSeconds(3)).Should().BeTrue();
f.Result.ShouldBeEquivalentTo(ByteString.FromString("abc"));
}, _materializer);
}