public async Task AddNewPhotoItem_InitializedSuccessfully_ReturnsOkay()
        {
            // Arrange
            var productController = new ProductController(_loggerMock.Object, _docService.Object, _blobService.Object);

            var photoItem = new PhotoItem
            {
                Id          = Guid.NewGuid().ToString(),
                Camera      = "Diana",
                Description = "Photo taken with Diana camera",
                Name        = "My favorite photo",
                Film        = "Kodak"
            };

            _docService.Setup(x => x.AddProductAsync(It.IsAny <PhotoItem>())).ReturnsAsync(photoItem);


            // Act
            var result = await productController.AddNewPhotoItem(photoItem);

            // Assert
            var jsonResult       = result as JsonResult;
            var photoItemsResult = jsonResult.Value as PhotoItem;

            Assert.AreEqual(photoItem.Id, photoItemsResult.Id);
        }
        public async Task AddNewPhotoItem_InitializedNegatively_ReturnsInternalServerError()
        {
            // Arrange
            var productController = new ProductController(_loggerMock.Object, _docService.Object, _blobService.Object);

            _docService.Setup(x => x.AddProductAsync(It.IsAny <PhotoItem>())).ThrowsAsync(new InvalidOperationException());

            // Act
            var result = await productController.AddNewPhotoItem(new PhotoItem());

            // Assert
            var codeRsult = result as StatusCodeResult;

            Assert.AreEqual(500, codeRsult.StatusCode);
        }