public void GetHashCode_WhenCalled_ShouldNotThrowException() { // Arrange const string version = "2.0"; int id = RandomGenerator.GetInteger(1); const int code = 400; const string message = "Test Message"; var target = new ErrorResponseInfo(version, id, code, message); // Act var actual = target.GetHashCode(); // Assert actual.Should().Not.Equal(0); }