public void GetHashCodeReturnsCorrectResult()
        {
            // Arrange
            var sut = new MultipleRequest(new object());
            // Act
            var result = sut.GetHashCode();
            // Assert
            var expectedResult = sut.Request.GetHashCode();

            Assert.Equal(expectedResult, result);
        }
Ejemplo n.º 2
0
        public void GetHashCodeReturnsCorrectResult()
        {
            // Fixture setup
            var sut = new MultipleRequest(new object());
            // Exercise system
            var result = sut.GetHashCode();
            // Verify outcome
            var expectedResult = sut.Request.GetHashCode();

            Assert.Equal(expectedResult, result);
            // Teardown
        }
Ejemplo n.º 3
0
 public void GetHashCodeReturnsCorrectResult()
 {
     // Fixture setup
     var sut = new MultipleRequest(new object());
     // Exercise system
     var result = sut.GetHashCode();
     // Verify outcome
     var expectedResult = sut.Request.GetHashCode();
     Assert.Equal(expectedResult, result);
     // Teardown
 }