Ejemplo n.º 1
0
        public async void GetProfileRealAsync()
        {
            IEcwidProfileClient client = new EcwidClient(_credentials)
            {
                Settings =
                {
                    ApiUrl = "http://www.mocky.io/v2/572a0e360f00001e0fa05580" //response with profile from real world.
                }
            };

            var result = await client.GetProfileAsync();

            Assert.NotNull(result);
        }
Ejemplo n.º 2
0
        public async void GetProfileAsync()
        {
            IEcwidProfileClient client = new EcwidClient(_credentials)
            {
                Settings =
                {
                    ApiUrl = "http://www.mocky.io/v2/572a0c0a0f0000bf0ea0557c" //response with profile from ecwid.
                }
            };

            var result = await client.GetProfileAsync();

            Assert.NotNull(result);
        }