예제 #1
0
            public void Returns_Correct_Value()
            {
                //Arrange
                var header = new MimeHeader("foo", "bar");
                var entity = new MimeEntity(new[] { header }, _helloWorldStream);

                //Act
                var result = entity.GetHashCode();

                //Assert
                Assert.That(result, Is.Not.EqualTo(0));
            }