Ejemplo n.º 1
0
        public void TestFor_ValidDisplayOfServicesAndGoods()
        {
            //Arrange
            Merchants merchants = new Merchants()
            {
                MerchantsId   = 1,
                MerchantsName = "Mar",
                Email         = "*****@*****.**",
                Password      = "******",
                Mobile        = 9876554345
            };

            //Actions
            var allServices = _merchantService.DisplayServices(merchants.MerchantsId);
            var allGoods    = _merchantService.DisplayAllGoods(merchants.MerchantsId);

            //Assert
            Assert.NotNull(allServices);
            Assert.NotNull(allGoods);
            Assert.NotEmpty(allServices);
            Assert.NotEmpty(allGoods);
        }