public void The_TCP_transport_implementation_should_support_waiting_for_writes_with_backpressure()
{
new TestSetup(this).Run(x =>
{
x.BindOptions = new[] {new Inet.SO.SendBufferSize(1024)};
x.ConnectOptions = new[] {new Inet.SO.SendBufferSize(1024)};
var actors = x.EstablishNewClientConnection();
actors.ServerHandler.Send(actors.ServerConnection, Tcp.Write.Create(ByteString.Create(new byte[100000]), Ack.Instance));
actors.ServerHandler.ExpectMsg(Ack.Instance);
x.ExpectReceivedData(actors.ClientHandler, 100000);
});
}