Ejemplo n.º 1
0
        public void GetAllShop_Expected_Shops_And_Null_products()
        {
            var response = _shopsService.GetAllShops();
            var shops    = response;

            Assert.NotNull(shops);
            Assert.Null(shops.First().Products);
        }
Ejemplo n.º 2
0
 public async Task Consume(ConsumeContext <GetAllShopsRequest> context)
 {
     var order = ShopsService.GetAllShops();
     await context.RespondAsync(order);
 }