/// <inheritdoc />
        public async Task <string> StoreObject(string desiredContainer, Stream fileContents, string desiredName)
        {
            //Get the client
            var blobClient = new BlobServiceClient(_storageOptions.Value.StorageConnectionString);

            //Create the client & container reference
            var container = blobClient.GetBlobContainerClient(desiredContainer.ToLower());

            //Get our block/blob reference
            var blockBlob = container.GetBlobClient(desiredName);

            _logger.LogInformation("Creating file {url} in Azure Blob Storage", blockBlob.Uri);

            //Delete existing if needed
            await blockBlob.DeleteIfExistsAsync().ConfigureAwait(false);

            //Determine content type
            _mimeTypeMapper.TryGetMimeType(desiredName, out var contentType);

            //Upload it
            if (string.IsNullOrEmpty(contentType))
            {
                await blockBlob.UploadAsync(fileContents).ConfigureAwait(false);
            }
            else
            {
                await blockBlob.UploadAsync(fileContents, new BlobHttpHeaders { ContentType = contentType })
                .ConfigureAwait(false);
            }

            return($"{_storageOptions.Value.RootClientPath}/{desiredContainer.ToLower()}/{desiredName}");
        }
        public void TryGetMimeType_ShouldReturnProperResultAndType(string input, bool expectedResult,
                                                                   string expectedValue)
        {
            //Act
            var actualResult = _mimeTypeMapper.TryGetMimeType(input, out var mimeType);

            //Assert
            Assert.Equal(expectedResult, actualResult);
            Assert.Equal(expectedValue, mimeType);
        }