public void ShouldReturnFalseWhenSocketIsNull() { const Socket socket = null; var actual = SocketAbstraction.CanWrite(socket); Assert.IsFalse(actual); }
internal static bool CanWrite(this Socket socket) { return(SocketAbstraction.CanWrite(socket)); }