public void Error_Result_Set(string uploadFileName, string uploadFileMediaType, string errorMessage) {
            var result = new UploadSaveResult(uploadFileName, uploadFileMediaType, errorMessage);

            Assert.False(result.Success);
            Assert.False(result.AlreadyExists);
            Assert.Equal(uploadFileName, result.UploadFileName);
            Assert.Equal(uploadFileMediaType, result.UploadFileMediaType);
            Assert.Equal(errorMessage, result.GetErrorMessage());
        }
        public void Result_Set(string uploadFileName, string uploadFileMediaType, string key, bool success, bool alreadyExists, string errorMessage) {
            var saveResult = new Mock<ISaveResult>();
            saveResult.SetupGet(r => r.Key).Returns(key);
            saveResult.SetupGet(r => r.Success).Returns(success);
            saveResult.SetupGet(r => r.AlreadyExists).Returns(alreadyExists);
            saveResult.Setup(r => r.GetErrorMessage()).Returns(errorMessage);

            var result = new UploadSaveResult(uploadFileName, uploadFileMediaType, saveResult.Object);

            Assert.Equal(key, result.Key);
            Assert.Equal(success, result.Success);
            Assert.Equal(alreadyExists, result.AlreadyExists);

            Assert.Equal(uploadFileName, result.UploadFileName);
            Assert.Equal(uploadFileMediaType, result.UploadFileMediaType);
            Assert.Equal(errorMessage, result.GetErrorMessage());
        }