public void when_filesize_is_not_greater_than_0_then_fail()
        {
            var fileSize        = 0;
            var metadataElement = new InputFileElement()
            {
                Url = new Uri("s3://bucket/folder/file.ext"), Size = fileSize
            };
            var result = validator.TestValidate(metadataElement);

            result.ShouldHaveValidationErrorFor(m => m.Size);
        }
        public void when_url_is_valid_then_should_not_fail()
        {
            var fileSize        = 900;
            var metadataElement = new InputFileElement()
            {
                Url = new Uri("s3://bucket/folder/file.ext"), Size = fileSize
            };
            var result = validator.TestValidate(metadataElement);

            result.ShouldNotHaveValidationErrorFor(m => m.Url);
        }
        public void when_url_is_not_valid_then_should_fail(Uri s3Url)
        {
            var fileSize        = 900;
            var metadataElement = new InputFileElement()
            {
                Url = s3Url, Size = fileSize
            };
            var result = validator.TestValidate(metadataElement);

            result.ShouldHaveValidationErrorFor(m => m.Url);
        }