public async Task ImageControllerDownloadImageStatusCodeOnStorageErrors(HttpStatusCode statusCode)
        {
            imageStoreMock.Setup(store => store.DownloadImage(_imageId))
            .ThrowsAsync(new StorageErrorException("Test Exception", (int)statusCode));
            ChatServiceException e = await Assert.ThrowsAsync <ChatServiceException>(() => chatServiceClient.DownloadImage(_imageId));

            Assert.Equal(statusCode, e.StatusCode);
        }