public async Task UpdatePrivateCloudDetails()
        {
            var request = new UpdatePrivateCloudViewModel();

            var result = await controller.Update(SolutionId, request) as NoContentResult;

            Assert.NotNull(result);
            result.StatusCode.Should().Be(StatusCodes.Status204NoContent);

            mediatorMock.Verify(m => m.Send(
                                    It.Is <UpdatePrivateCloudCommand>(c => c.Id == SolutionId && c.Data == request),
                                    It.IsAny <CancellationToken>()));
        }
        public async Task UpdatePrivateCloudDetails()
        {
            var request = new UpdatePrivateCloudViewModel();

            var result =
                (await _controller.Update(_solutionId, request)
                 .ConfigureAwait(false)) as NoContentResult;

            result.StatusCode.Should().Be((int)HttpStatusCode.NoContent);
            _mediatorMock.Verify(
                x => x.Send(
                    It.Is <UpdatePrivateCloudCommand>(c =>
                                                      c.Id == _solutionId &&
                                                      c.Data == request
                                                      ),
                    It.IsAny <CancellationToken>()), Times.Once);
        }