public void ShouldReturnFalseWhenSocketIsNull()
        {
            const Socket socket = null;

            var actual = SocketAbstraction.CanWrite(socket);

            Assert.IsFalse(actual);
        }
Exemple #2
0
 internal static bool CanWrite(this Socket socket)
 {
     return(SocketAbstraction.CanWrite(socket));
 }