public void SendMoreFrameEmpty() { OutgoingSocketMock socket = new OutgoingSocketMock((ref Msg msg, TimeSpan timeout, bool more) => { Assert.AreEqual(SendReceiveConstants.InfiniteTimeout, timeout); Assert.AreEqual(0, msg.Data.Length); Assert.IsTrue(more); return(true); }); socket.SendMoreFrameEmpty(); }
public void SendMoreFrameEmpty() { OutgoingSocketMock socket = new OutgoingSocketMock((ref Msg msg, TimeSpan timeout, bool more) => { Assert.AreEqual(SendReceiveConstants.InfiniteTimeout, timeout); Assert.AreEqual(0, msg.Data.Length); Assert.IsTrue(more); return true; }); socket.SendMoreFrameEmpty(); }