Ejemplo n.º 1
0
        public async Task DemoRun_GetCouponsForBranchAsync(string id)
        {
            //Arrange
            CouponsClient client = new CouponsClient();

            //Act
            var result = await client.GetCouponsByBranchAsync(id);

            //Assert
            Assert.NotNull(result);
        }
Ejemplo n.º 2
0
        public async Task DemoRun_GetCouponBranchesAsync()
        {
            //Arrange
            CouponsClient client = new CouponsClient();

            //Act
            var result = await client.GetCouponBranchesAsync();

            //Assert
            Assert.NotNull(result);
        }
Ejemplo n.º 3
0
        public async Task DemoRun_GetCouponsByCategoryAsync(string categorie)
        {
            //Arrange
            CouponsClient client = new CouponsClient();

            //Act
            var result = await client.GetCouponsByCategoryAsync(categorie);

            //Assert
            Assert.NotNull(result);
        }
Ejemplo n.º 4
0
        public async Task DemoRun_GetGetCouponsWithOffsetAsync(int i)
        {
            //Arrange
            CouponsClient client = new CouponsClient();

            //Act
            var result = await client.GetCouponsWithOffsetAsync(i);

            //Assert
            Assert.NotNull(result);
        }