private reader_throws_if_unable_to_connect_to_endpoint ( ) : void | ||
return | void |
public void reader_throws_if_unable_to_connect_to_endpoint()
{
Assert.Throws<IOException>(() =>
{
using(var reader = new ProxyMessageReader(TestEndpoint))
{
reader.Read();
}
});
}