public void _006_TestProductDelete() { var dictionary = new Dictionary <string, string>(); dictionary.Add("product_id", product_id); var result = TwocheckoutProduct.Delete(dictionary); Assert.IsInstanceOf <TwocheckoutResponse>(result); }
public void _003_TestProductRetrieve() { var dictionary = new Dictionary <string, string>(); dictionary.Add("product_id", product_id); var result = TwocheckoutProduct.Retrieve(dictionary); Assert.IsInstanceOf <Product>(result); }
public void _005_TestProductUpdate() { var dictionary = new Dictionary <string, string>(); dictionary.Add("product_id", product_id); dictionary.Add("vendor_product_id", "TestProduct123"); dictionary.Add("price", "0.01"); var result = TwocheckoutProduct.Update(dictionary); Assert.IsInstanceOf <TwocheckoutResponse>(result); }
public void _002_TestProductCreate() { var dictionary = new Dictionary <string, string>(); dictionary.Add("name", "TestProduct"); dictionary.Add("vendor_product_id", "TestProduct123"); dictionary.Add("price", "0.01"); var result = TwocheckoutProduct.Create(dictionary); product_id = result.product_id; Assert.IsInstanceOf <TwocheckoutResponse>(result); }
public void _004_TestProductList() { var result = TwocheckoutProduct.List(); Assert.IsInstanceOf <ProductList>(result); }