Exemple #1
0
        public void GetAllProductsTest()
        {
            var client = new ProductService.ProductServiceClient();

            var product = client.GetAllProducts();

            Assert.IsTrue(product.Result.ResultType == ProductService.ResultType.Success);
        }
Exemple #2
0
        public void GetProductTest()
        {
            var client    = new ProductService.ProductServiceClient();
            var productId = new Guid("c5b87c07-a019-471c-9c77-4f1380950f73");

            var product = client.GetProduct(productId);

            Assert.IsTrue(product.Result.ResultType == ProductService.ResultType.Success);
        }
        public void GetProductTest()
        {
            var client    = new ProductService.ProductServiceClient();
            var productId = new Guid("afe38a9e-9faf-411f-a94b-23d377b473b4");

            var product = client.GetProduct(productId);

            Assert.IsTrue(product.Result.ResultType == ProductService.ResultType.Success);
        }
        public void GetProductTest()
        {
            var client    = new ProductService.ProductServiceClient();
            var productId = new Guid("50c750ea-f78b-467a-83cb-652a086f84d5");

            var product = client.GetProduct(productId);

            Assert.IsTrue(product.Result.ResultType == ProductService.ResultType.Success);
        }