public void Constructor_SetErrorMessage()
        {
            // Arrange / Act
            var triggeredValue = new TestValidatableValue();
            var sut            = new RevalidateOtherValueValidationRule <int>(triggeredValue);

            // Assert
            sut.ErrorMessage.Should().BeEmpty();
        }
        public void Validation_TriggerValidation_OnOtherValue()
        {
            // Arrange
            var triggeredValue = new TestValidatableValue();
            var sut            = new RevalidateOtherValueValidationRule <int>(triggeredValue);

            // Act
            triggeredValue.ValidationCalled.Should().Be(0);
            sut.Validate(100);

            // Assert
            triggeredValue.ValidationCalled.Should().Be(1);
        }