KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > wsdl > sequence > SequenceTestServiceTestCase


1 /**
2  * SequenceTestServiceTestCase.java
3  *
4  * @author Rich Scheuerle (scheu@us.ibm.com)
5  * @author Glen Daniels (gdaniels@apache.org)
6  */

7
8 package test.wsdl.sequence;
9
10 public class SequenceTestServiceTestCase extends junit.framework.TestCase {
11     public SequenceTestServiceTestCase(String JavaDoc name) {
12         super(name);
13     }
14
15     public void testSequenceTest() throws Exception JavaDoc {
16         test.wsdl.sequence.SequenceTestPortType binding;
17         binding = new SequenceTestLocator().getSequenceTest();
18         assertTrue("binding is null", binding != null);
19         assertTrue("Test failed!",
20                    binding.testSequence(new test.wsdl.sequence.SequenceInfo()));
21     }
22 }
23
24
Popular Tags