Пример #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);
        }
Пример #2
0
        public async Task DemoRun_GetCouponBranchesAsync()
        {
            //Arrange
            CouponsClient client = new CouponsClient();

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

            //Assert
            Assert.NotNull(result);
        }
Пример #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);
        }
Пример #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);
        }