Renci.SshNet.Tests.ForwardedPortStatusTest_Stopped.Equals_ShouldReturnFalseWhenOtherIsNull C# (CSharp) Method

Equals_ShouldReturnFalseWhenOtherIsNull() private method

private Equals_ShouldReturnFalseWhenOtherIsNull ( ) : void
return void
        public void Equals_ShouldReturnFalseWhenOtherIsNull()
        {
            const ForwardedPortStatus other = null;

            var actual = ForwardedPortStatus.Stopped.Equals(other);

            Assert.IsFalse(actual);
        }