public async Task ThenAListOfCommitmentsWillBeReturned(GetCommitmentsResponse mediatorResponse)
        {
            _mockMediator.Setup(x => x.SendAsync(It.IsAny <GetCommitmentsRequest>())).ReturnsAsync(mediatorResponse);

            var result = await _controller.GetCommitments(1234L) as OkNegotiatedContentResult <IEnumerable <CommitmentListItem> >;

            result.Should().NotBeNull();
            //result.Content.Should().BeSameAs(mediatorResponse.Data);
        }