public async void WhenNoValidationErrorsResponseIsNull()
        {
            var command = new ParameterValidatorCommand<TestParameters>(new CommandDummy<TestParameters>());

            var args = new TestParameters { StringProperty = "StringProperty" };

            var result = await command.ExecuteAsync(args);

            Assert.Null(result);
        }
        public async void ValidateParamAndWrapInResponseMessage()
        {
            var command = new ParameterValidatorCommand<TestParameters>(new CommandDummy<TestParameters>());

            var args = new TestParameters
            {
                StringProperty = ""
            };


            var result = await command.ExecuteAsync(args);
            Assert.Equal("StringProperty must be defined", result.GetPropertyErrors("StringProperty")[0]);
        }