public void IndexShouldRetrivedListItemsFromService() { var service = new Mock<IShopCatalogService>(); var shopCatalogController = new ShopCatalogController(service.Object); shopCatalogController.Index(); service.Verify(x => x.ListCatalogItems()); }