public async Task ExecuteAsync_RegexSuccess(string value)
        {
            // arrange
            var rule = new StringIsNotNullRule(value);

            // act
            var result = await _sut.ExecuteAsync(rule);

            // assert
            Assert.That(result, Is.Not.Null);
            Assert.That(result.IsSuccess, Is.True);
            Assert.That(result.Errors, Is.Empty);
        }
        public async Task ExecuteAsync_RegexFails(string value)
        {
            // arrange
            var rule = new StringIsNotNullRule(value);

            // act
            var result = await _sut.ExecuteAsync(rule);

            // assert
            Assert.That(result, Is.Not.Null);
            Assert.That(result.IsSuccess, Is.False);
            Assert.That(result.Errors, Is.Not.Empty);
            Assert.That(result.Errors.First().Code, Is.EqualTo((int)SystemErrorCodes.InvalidRequest));
        }