FileDocCategorySizeDatePackage
TestProduct_Service.javaAPI DocExample648Tue Oct 09 11:03:40 BST 2001com.ecerami.test.soap

TestProduct_Service

public class TestProduct_Service extends TestCase

Fields Summary
Constructors Summary
public TestProduct_Service(String name)

         super(name);
     
Methods Summary
public voidtestProductService()
Tests Product Service

      ProductClient client = new ProductClient();
      ProductBean product = client.getProduct("A358185");
      assertEquals ("Red Hat Linux", product.getName());
      assertEquals ("Red Hat Linux Operating System", product.getDescription());
      assertEquals (54.99, product.getPrice(), 0.0);