public void TestSetLength() { using (var stream = new SmtpStream(new DummyNetworkStream(), new NullProtocolLogger())) { Assert.Throws <NotSupportedException> (() => stream.SetLength(500)); } }
public void TestSetLength() { using (var stream = new SmtpStream(new DummyNetworkStream(), new NullProtocolLogger())) { Assert.Throws <NotSupportedException> (() => stream.SetLength(500)); } }