public ViewResult Index(string searchTerm, int page = 1)
        {
            ViewData["AmazonManageInventoryUrl"] = _amazonAppSettings.AmazonManageInventoryUrl;
            var results = _amazonListingGroupService.Search(searchTerm, page, _siteSettings.DefaultPageSize);

            return(View(results));
        }
        public void ListingGroupController_Index_ShouldCallSearch()
        {
            var result = _listingGroupController.Index(null, 1);

            A.CallTo(() => _amazonListingGroupService.Search(null, 1, 10)).MustHaveHappened();
        }