public void BrowseOffers_UsesQuery_ReturnsResultOfDispatch()
        {
            var query  = new BrowseOffers();
            var result = new Mock <IPagedResult <OfferDto> >(MockBehavior.Strict).Object;

            _dispatcherMock.Setup(d => d.QueryAsync(query)).ReturnsAsync(result).Verifiable();

            var actionResult = _controller.BrowseOffers(query).GetAwaiter().GetResult();

            Assert.AreEqual(result, actionResult);
            _dispatcherMock.Verify();
        }