public void GetAllShop_Expected_Shops_And_Null_products() { var response = _shopsService.GetAllShops(); var shops = response; Assert.NotNull(shops); Assert.Null(shops.First().Products); }
public async Task Consume(ConsumeContext <GetAllShopsRequest> context) { var order = ShopsService.GetAllShops(); await context.RespondAsync(order); }