Esempio n. 1
0
            public void Null_Other_Returns_False()
            {
                //Arrange
                var header = new MimeHeader(ExpectedField, ExpectedValue);

                //Act
                var result = header.Equals(null);

                //Assert
                Assert.That(result, Is.False);
            }
Esempio n. 2
0
            public void Are_Not_Equal()
            {
                //Arrange
                var header = new MimeHeader(ExpectedField, ExpectedValue);
                var other  = new MimeHeader(ExpectedValue, ExpectedField);

                //Act
                var result = header.Equals(other);

                //Assert
                Assert.That(result, Is.False);
            }