private QueueSink_should_fail_to_materialize_with_zero_sized_input_buffer ( ) : void | ||
return | void |
public void QueueSink_should_fail_to_materialize_with_zero_sized_input_buffer()
{
Source.Single(1)
.Invoking(
s => s.RunWith(Sink.Queue<int>().WithAttributes(Attributes.CreateInputBuffer(0, 0)), _materializer))
.ShouldThrow<ArgumentException>();
}
}